|
From: <js...@us...> - 2008-11-20 13:20:00
|
Revision: 6421
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6421&view=rev
Author: jswhit
Date: 2008-11-20 13:19:50 +0000 (Thu, 20 Nov 2008)
Log Message:
-----------
added more comments.
Modified Paths:
--------------
trunk/toolkits/basemap/examples/save_background.py
Modified: trunk/toolkits/basemap/examples/save_background.py
===================================================================
--- trunk/toolkits/basemap/examples/save_background.py 2008-11-20 13:15:07 UTC (rev 6420)
+++ trunk/toolkits/basemap/examples/save_background.py 2008-11-20 13:19:50 UTC (rev 6421)
@@ -25,6 +25,8 @@
# generate the second figure, re-using the background
# from figure 1.
fig2 = plt.figure(2,frameon=False,**figprops)
+# make sure frame is off, or everything in existing background
+# will be obliterated.
ax2 = fig2.add_subplot(111,frameon=False)
# restore previous background.
fig2.canvas.restore_region(background)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|