Fixed broken plot_directive.py so to build the doc.

This commit is contained in:
Emmanuelle Gouillart
2011-08-24 17:57:09 +02:00
parent 272fbbe1ea
commit a146e80cf6
+1 -1
View File
@@ -481,7 +481,7 @@ def run_code(code, code_path, ns=None, function_name=None):
def clear_state(plot_rcparams):
plt.close('all')
matplotlib.rc_file_defaults()
matplotlib.rcdefaults()
matplotlib.rcParams.update(plot_rcparams)
def render_figures(code, code_path, output_dir, output_base, context,