From: <ef...@us...> - 2008-09-26 21:52:45
|
Revision: 6123 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6123&view=rev Author: efiring Date: 2008-09-26 21:52:34 +0000 (Fri, 26 Sep 2008) Log Message: ----------- fixed bug in PrintoutWX--thanks to Ziwen Fu Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_wx.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_wx.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_wx.py 2008-09-25 17:16:30 UTC (rev 6122) +++ trunk/matplotlib/lib/matplotlib/backends/backend_wx.py 2008-09-26 21:52:34 UTC (rev 6123) @@ -2109,7 +2109,7 @@ # restore original figure resolution self.canvas.figure.set_facecolor(bgcolor) - self.canvas.figure.dpi.set(fig_dpi) + self.canvas.figure.dpi = fig_dpi self.canvas.draw() return True #> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |