Revision: 7572
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7572&view=rev
Author: jswhit
Date: 2009-08-26 11:32:41 +0000 (Wed, 26 Aug 2009)
Log Message:
-----------
cosmetic cleanup.
Modified Paths:
--------------
trunk/toolkits/basemap/examples/daynight.py
Modified: trunk/toolkits/basemap/examples/daynight.py
===================================================================
--- trunk/toolkits/basemap/examples/daynight.py 2009-08-26 01:12:32 UTC (rev
7571)
+++ trunk/toolkits/basemap/examples/daynight.py 2009-08-26 11:32:41 UTC (rev
7572)
@@ -5,6 +5,7 @@
# example showing how to compute the day/night terminator and shade nightime
# areas on a map.
+
# miller projection
map = Basemap(projection='mill',lon_0=180)
# plot coastlines, draw label meridians and parallels.
@@ -14,9 +15,8 @@
# fill continents 'coral' (with zorder=0), color wet areas 'aqua'
map.drawmapboundary(fill_color='aqua')
map.fillcontinents(color='coral',lake_color='aqua')
-# shade the night areas gray, with alpha transparency so the
-# map shows through.
-# use current time in UTC.
+# shade the night areas, with alpha transparency so the
+# map shows through. Use current time in UTC.
date = datetime.utcnow()
CS=map.nightshade(date)
plt.title('Day/Night Map for %s (UTC)' % date)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins