From a146e80cf6b960b8ced112ef0d5332a8ebba8139 Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Wed, 24 Aug 2011 17:57:09 +0200 Subject: [PATCH] Fixed broken plot_directive.py so to build the doc. --- doc/ext/plot_directive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ext/plot_directive.py b/doc/ext/plot_directive.py index 2ad1530a..dc86552b 100644 --- a/doc/ext/plot_directive.py +++ b/doc/ext/plot_directive.py @@ -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,