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.
2 parents 21adc0a + e461869 commit 0eb6c8cCopy full SHA for 0eb6c8c
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