removes redundant passing of an extra parameter

This commit is contained in:
Rishabh Raj
2014-04-11 00:45:22 +05:30
parent 65adb7935b
commit 5180da54ad
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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):