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.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins