mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-09 12:00:02 +08:00
Fixed broken plot_directive.py so to build the doc.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user