Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e807fd7

Browse filesBrowse files
committed
Added min test to simulate issue #4068.
1 parent d595fe3 commit e807fd7
Copy full SHA for e807fd7

File tree

Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed

‎lib/matplotlib/tests/test_pickle.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_pickle.py
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,16 @@ def test_grid():
242242
pickle.dump(ax, BytesIO())
243243

244244

245+
@cleanup
246+
def test_polar():
247+
ax = plt.subplot(111, polar=True)
248+
fig = plt.gcf()
249+
result = BytesIO()
250+
pf = pickle.dumps(fig)
251+
pickle.loads(pf)
252+
plt.draw()
253+
254+
245255
if __name__ == '__main__':
246256
import nose
247257
nose.runmodule(argv=['-s'])

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.