diff --git a/doc/ext/notebook.py b/doc/ext/notebook.py index 39ab9a09..7a4de781 100644 --- a/doc/ext/notebook.py +++ b/doc/ext/notebook.py @@ -54,7 +54,7 @@ class Notebook(): json.dump(self.template, output, indent=2) -def save_ipython_notebook(example_file, notebook_dir, notebook_path, basename): +def save_ipython_notebook(example_file, notebook_dir, notebook_path): """ Saves a Python file as an IPython notebook Parameters diff --git a/doc/ext/plot2rst.py b/doc/ext/plot2rst.py index 9216365c..7de4f589 100644 --- a/doc/ext/plot2rst.py +++ b/doc/ext/plot2rst.py @@ -374,7 +374,7 @@ def write_example(src_name, src_dir, rst_dir, cfg): else: shutil.copy(cfg.plot2rst_default_thumb, thumb_path) - save_ipython_notebook(example_file, notebook_dir, notebook_path, basename) + save_ipython_notebook(example_file, notebook_dir, notebook_path) def save_thumbnail(image, thumb_path, shape):