Skip to content

Commit

Permalink
Small bugfixes to the new pickle support.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelson committed Sep 2, 2012
1 parent 92721ed commit 97b0f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/backend_pgf.py
Expand Up @@ -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):
Expand Down

0 comments on commit 97b0f8e

Please sign in to comment.