Permalink
Browse files

Merge pull request #1191 from pelson/pickle_fix_1

Small bugfixes to the new pickle support.
  • Loading branch information...
2 parents 92721ed + 97b0f8e commit cadd152e6b50fac318f70b804ac4a1639ae5f967 @pelson pelson committed Sep 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/matplotlib/backends/backend_pgf.py
@@ -611,7 +611,7 @@ def new_figure_manager(num, *args, **kwargs):
# main-level app (egg backend_gtk, backend_gtkagg) for pylab
FigureClass = kwargs.pop('FigureClass', Figure)
thisFig = FigureClass(*args, **kwargs)
- return new_figure_manager_given_figure(thisFig)
+ return new_figure_manager_given_figure(num, thisFig)
def new_figure_manager_given_figure(num, figure):

0 comments on commit cadd152

Please sign in to comment.