Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed python2.6 support (by removing use of viewvalues on a dict).

  • Loading branch information...
commit e461869de54b2190c65599c375aa5bd2ea048dff 1 parent 3649d2b
@pelson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/matplotlib/figure.py
View
2  lib/matplotlib/figure.py
@@ -1189,7 +1189,7 @@ def __getstate__(self):
if getattr(self.canvas, 'manager', None) is not None:
manager = self.canvas.manager
import matplotlib._pylab_helpers
- if manager in matplotlib._pylab_helpers.Gcf.figs.viewvalues():
+ if manager in matplotlib._pylab_helpers.Gcf.figs.values():
state['_restore_to_pylab'] = True
return state
Please sign in to comment.
Something went wrong with that request. Please try again.