Browse files

Small bugfixes to the new pickle support.

  • Loading branch information...
1 parent 92721ed commit 97b0f8eb55d72fe378e54674b988f8953bc3f2a8 @pelson pelson committed Sep 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/matplotlib/backends/backend_pgf.py
View
2 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 97b0f8e

Please sign in to comment.