From: <jd...@us...> - 2008-07-26 00:29:27
|
Revision: 5883 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5883&view=rev Author: jdh2358 Date: 2008-07-26 00:29:25 +0000 (Sat, 26 Jul 2008) Log Message: ----------- removed debug savefig from image demo Modified Paths: -------------- trunk/matplotlib/examples/pylab_examples/image_demo.py trunk/matplotlib/lib/matplotlib/image.py Modified: trunk/matplotlib/examples/pylab_examples/image_demo.py =================================================================== --- trunk/matplotlib/examples/pylab_examples/image_demo.py 2008-07-26 00:01:18 UTC (rev 5882) +++ trunk/matplotlib/examples/pylab_examples/image_demo.py 2008-07-26 00:29:25 UTC (rev 5883) @@ -14,6 +14,5 @@ im = plt.imshow(Z, interpolation='bilinear', cmap=cm.gray, origin='lower', extent=[-3,3,-3,3]) -plt.savefig('test.ps', dpi=300) plt.show() Modified: trunk/matplotlib/lib/matplotlib/image.py =================================================================== --- trunk/matplotlib/lib/matplotlib/image.py 2008-07-26 00:01:18 UTC (rev 5882) +++ trunk/matplotlib/lib/matplotlib/image.py 2008-07-26 00:29:25 UTC (rev 5883) @@ -638,7 +638,7 @@ def make_image(self, magnification=1.0): # had to introduce argument magnification to satisfy the unit test # figimage_demo.py. I have no idea, how magnification should be used - # within the function. It should be !=1.0 only for non-default DPI + # within the function. It should be !=1.0 only for non-default DPI< # settings in the PS backend, as introduced by patch #1562394 # Probably Nicholas Young should look over this code and see, how # magnification should be handled correctly. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |