Skip to content
This repository

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

Merged
merged 1 commit into from over 1 year ago

2 participants

Phil Elson Don't Add Me To Your Organization a.k.a The Travis Bot
Phil Elson
Collaborator

No description provided.

Phil Elson pelson merged commit 0eb6c8c into from September 03, 2012
Phil Elson pelson closed this September 03, 2012
Don't Add Me To Your Organization a.k.a The Travis Bot

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

Showing 1 unique commit by 1 author.

Sep 03, 2012
Phil Elson Fixed python2.6 support (by removing use of viewvalues on a dict). e461869
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/matplotlib/figure.py
2  lib/matplotlib/figure.py
@@ -1189,7 +1189,7 @@ def __getstate__(self):
1189 1189
         if getattr(self.canvas, 'manager', None) is not None:
1190 1190
             manager = self.canvas.manager
1191 1191
             import matplotlib._pylab_helpers
1192  
-            if manager in matplotlib._pylab_helpers.Gcf.figs.viewvalues():
  1192
+            if manager in matplotlib._pylab_helpers.Gcf.figs.values():
1193 1193
                 state['_restore_to_pylab'] = True
1194 1194
 
1195 1195
         return state
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.