From: <js...@us...> - 2008-05-31 12:26:23
|
Revision: 5340 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5340&view=rev Author: jswhit Date: 2008-05-31 05:26:21 -0700 (Sat, 31 May 2008) Log Message: ----------- replace "faceted=False" with "edgecolors='none' to suppress deprecation warning Modified Paths: -------------- trunk/toolkits/basemap/examples/plotcities.py trunk/toolkits/basemap/examples/randompoints.py Modified: trunk/toolkits/basemap/examples/plotcities.py =================================================================== --- trunk/toolkits/basemap/examples/plotcities.py 2008-05-30 22:24:06 UTC (rev 5339) +++ trunk/toolkits/basemap/examples/plotcities.py 2008-05-31 12:26:21 UTC (rev 5340) @@ -18,6 +18,6 @@ colors.append(plt.cm.jet(float(rank)/100.)) m.drawcoastlines() m.fillcontinents() -m.scatter(x,y,25,colors,marker='o',faceted=False,zorder=10) +m.scatter(x,y,25,colors,marker='o',edgecolors='none',zorder=10) plt.title('City Locations colored by Population Rank') plt.show() Modified: trunk/toolkits/basemap/examples/randompoints.py =================================================================== --- trunk/toolkits/basemap/examples/randompoints.py 2008-05-30 22:24:06 UTC (rev 5339) +++ trunk/toolkits/basemap/examples/randompoints.py 2008-05-31 12:26:21 UTC (rev 5340) @@ -28,7 +28,7 @@ # draw colored markers. # use zorder=10 to make sure markers are drawn last. # (otherwise they are covered up when continents are filled) -#m.scatter(x,y,25,z,cmap=plt.cm.jet,marker='o',faceted=False,zorder=10) +#m.scatter(x,y,25,z,cmap=plt.cm.jet,marker='o',edgecolors='none',zorder=10) # create a list of strings containing z values # or, plot actual numbers as color-coded text strings. zn = [ '%2i' % zz for zz in z ] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |