Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3649d2b commit e461869Copy full SHA for e461869
1 file changed
lib/matplotlib/figure.py
@@ -1189,7 +1189,7 @@ def __getstate__(self):
1189
if getattr(self.canvas, 'manager', None) is not None:
1190
manager = self.canvas.manager
1191
import matplotlib._pylab_helpers
1192
- if manager in matplotlib._pylab_helpers.Gcf.figs.viewvalues():
+ if manager in matplotlib._pylab_helpers.Gcf.figs.values():
1193
state['_restore_to_pylab'] = True
1194
1195
return state
0 commit comments