From: <lee...@us...> - 2008-12-06 23:17:16
|
Revision: 6502 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6502&view=rev Author: leejjoon Date: 2008-12-06 23:17:10 +0000 (Sat, 06 Dec 2008) Log Message: ----------- Fixed a small bug in svg backend Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/lib/matplotlib/backends/backend_svg.py Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2008-12-06 14:36:35 UTC (rev 6501) +++ trunk/matplotlib/CHANGELOG 2008-12-06 23:17:10 UTC (rev 6502) @@ -1,3 +1,6 @@ +2008-12-06 Fixed a bug in svg backend that new_figure_manager() + ignores keywords arguments such as figsize, etc. -JJL + 2008-12-05 Fixed a bug that the handlelength of the new legend class set too short when numpoints=1 -JJL Modified: trunk/matplotlib/lib/matplotlib/backends/backend_svg.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_svg.py 2008-12-06 14:36:35 UTC (rev 6501) +++ trunk/matplotlib/lib/matplotlib/backends/backend_svg.py 2008-12-06 23:17:10 UTC (rev 6502) @@ -27,7 +27,7 @@ def new_figure_manager(num, *args, **kwargs): FigureClass = kwargs.pop('FigureClass', Figure) - thisFig = FigureClass(*args) + thisFig = FigureClass(*args, **kwargs) canvas = FigureCanvasSVG(thisFig) manager = FigureManagerSVG(canvas, num) return manager This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |