From: <js...@us...> - 2007-12-03 01:39:22
|
Revision: 4550 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4550&view=rev Author: jswhit Date: 2007-12-02 17:39:21 -0800 (Sun, 02 Dec 2007) Log Message: ----------- remove blank lines Modified Paths: -------------- trunk/py4science/examples/basemap1.py trunk/py4science/examples/basemap2.py trunk/py4science/examples/basemap3.py trunk/py4science/examples/basemap4.py trunk/py4science/examples/basemap5.py Modified: trunk/py4science/examples/basemap1.py =================================================================== --- trunk/py4science/examples/basemap1.py 2007-12-03 01:33:24 UTC (rev 4549) +++ trunk/py4science/examples/basemap1.py 2007-12-03 01:39:21 UTC (rev 4550) @@ -1,6 +1,5 @@ import pylab, numpy from matplotlib.toolkits.basemap import Basemap - # create figure. fig = pylab.figure() # create map by specifying lat/lon values at corners. @@ -24,4 +23,4 @@ m.drawcountries() m.drawstates() pylab.title('map region specified using corner lat/lon values') -pylab.savefig('basemap1.png',dpi=600) +pylab.show() Modified: trunk/py4science/examples/basemap2.py =================================================================== --- trunk/py4science/examples/basemap2.py 2007-12-03 01:33:24 UTC (rev 4549) +++ trunk/py4science/examples/basemap2.py 2007-12-03 01:39:21 UTC (rev 4550) @@ -1,6 +1,5 @@ import pylab, numpy from matplotlib.toolkits.basemap import Basemap - # create figure. fig = pylab.figure() # create map by specifying width and height in km. @@ -19,4 +18,4 @@ m.drawcountries() m.drawstates() pylab.title('map region specified using width and height') -pylab.savefig('basemap2.png',dpi=600) +pylab.show() Modified: trunk/py4science/examples/basemap3.py =================================================================== --- trunk/py4science/examples/basemap3.py 2007-12-03 01:33:24 UTC (rev 4549) +++ trunk/py4science/examples/basemap3.py 2007-12-03 01:39:21 UTC (rev 4550) @@ -1,6 +1,5 @@ import pylab, numpy from matplotlib.toolkits.basemap import Basemap - # create figure. fig = pylab.figure() # create map by specifying width and height in km. @@ -40,4 +39,4 @@ m.drawcountries() m.drawstates() pylab.title('NY to London Great Circle') -pylab.savefig('basemap3.png',dpi=600) +pylab.show() Modified: trunk/py4science/examples/basemap4.py =================================================================== --- trunk/py4science/examples/basemap4.py 2007-12-03 01:33:24 UTC (rev 4549) +++ trunk/py4science/examples/basemap4.py 2007-12-03 01:39:21 UTC (rev 4550) @@ -24,4 +24,4 @@ # of the plot frame. m.drawparallels(numpy.arange(-80,81,20),labels=[1,1,1,0]) pylab.title('labelled meridians and parallels',y=1.075) -pylab.savefig('basemap4.png',dpi=600) +pylab.show() Modified: trunk/py4science/examples/basemap5.py =================================================================== --- trunk/py4science/examples/basemap5.py 2007-12-03 01:33:24 UTC (rev 4549) +++ trunk/py4science/examples/basemap5.py 2007-12-03 01:39:21 UTC (rev 4550) @@ -25,4 +25,4 @@ m.drawmapboundary(fill_color='k') # draw horizontal colorbar. pylab.colorbar(orientation='horizontal') -pylab.savefig('basemap5.png',dpi=600) +pylab.show() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |