Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@pelson
Collaborator

No description provided.

@pelson pelson merged commit 0eb6c8c into matplotlib:master
@travisbot

This pull request fails (merged e461869 into 3649d2b).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.