Revision: 5717
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5717&view=rev
Author: mdboom
Date: 2008-07-07 11:34:07 -0700 (Mon, 07 Jul 2008)
Log Message:
-----------
Clear rcParams state between documentation plots.
Modified Paths:
--------------
trunk/matplotlib/doc/sphinxext/plot_directive.py
Modified: trunk/matplotlib/doc/sphinxext/plot_directive.py
===================================================================
--- trunk/matplotlib/doc/sphinxext/plot_directive.py 2008-07-07 17:48:36 UTC
(rev 5716)
+++ trunk/matplotlib/doc/sphinxext/plot_directive.py 2008-07-07 18:34:07 UTC
(rev 5717)
@@ -86,6 +86,7 @@
print ' building %s'%fullpath
plt.close('all') # we need to clear between runs
+ matplotlib.rcdefaults()
mplshell.magic_run(fullpath)
for format, dpi in formats:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins