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

Skip to content

Commit b683ae3

Browse files
committed
midnamed the pyplot api file
svn path=/trunk/matplotlib/; revision=5242
1 parent 21aa581 commit b683ae3

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

doc/users_guide/figures/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def figs():
2020
continue
2121
else:
2222
print ' building %s'%fname
23-
plt.gcf().clf() # we need to clear between runs
23+
plt.close('all') # we need to clear between runs
2424
mplshell.magic_run(basename)
2525
plt.savefig('%s.png'%basename)
2626
print 'all figures made'

0 commit comments

Comments
 (0)