mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-01 12:50:48 +08:00
removes redundant passing of an extra parameter
This commit is contained in:
+1
-1
@@ -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
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user