From 5180da54ada08b22ed8d0d973f76416589a82d51 Mon Sep 17 00:00:00 2001 From: Rishabh Raj Date: Fri, 11 Apr 2014 00:45:22 +0530 Subject: [PATCH] removes redundant passing of an extra parameter --- doc/ext/notebook.py | 2 +- doc/ext/plot2rst.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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):