|
From: <md...@us...> - 2008-07-07 18:34:12
|
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.
|