Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fca5eb3

Browse files
committed
Use none as default argument
1 parent 1d3840b commit fca5eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def render_figures(code, code_path, output_dir, output_base, context,
539539
function_name, config, context_reset=False,
540540
close_figs=False,
541541
code_includes=None,
542-
outname=''):
542+
outname=None):
543543
"""
544544
Run a pyplot script and save the images in *output_dir*.
545545

0 commit comments

Comments
 (0)