|
From: <js...@us...> - 2009-08-26 15:30:03
|
Revision: 7575
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7575&view=rev
Author: jswhit
Date: 2009-08-26 15:29:57 +0000 (Wed, 26 Aug 2009)
Log Message:
-----------
format date in title
Modified Paths:
--------------
trunk/toolkits/basemap/examples/daynight.py
Modified: trunk/toolkits/basemap/examples/daynight.py
===================================================================
--- trunk/toolkits/basemap/examples/daynight.py 2009-08-26 11:52:06 UTC (rev 7574)
+++ trunk/toolkits/basemap/examples/daynight.py 2009-08-26 15:29:57 UTC (rev 7575)
@@ -19,5 +19,5 @@
# map shows through. Use current time in UTC.
date = datetime.utcnow()
CS=map.nightshade(date)
-plt.title('Day/Night Map for %s (UTC)' % date)
+plt.title('Day/Night Map for %s (UTC)' % date.strftime("%d %b %Y %H:%M:%S"))
plt.show()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|