Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40f0347

Browse files
committed
Clear rcParams state between documentation plots.
svn path=/trunk/matplotlib/; revision=5717
1 parent 7ff5e81 commit 40f0347

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/sphinxext/plot_directive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def makefig(fullpath, outdir):
8686

8787
print ' building %s'%fullpath
8888
plt.close('all') # we need to clear between runs
89+
matplotlib.rcdefaults()
8990

9091
mplshell.magic_run(fullpath)
9192
for format, dpi in formats:

0 commit comments

Comments
 (0)