Skip to content

Commit a49d903

Browse files
committed
changed default value for image_filename
1 parent cac15c5 commit a49d903

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plotly/offline/offline.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def plot(figure_or_data,
272272
validate=True, output_type='file',
273273
include_plotlyjs=True,
274274
filename='temp-plot.html', auto_open=True,
275-
image=False, image_filename='plot', format='png',
275+
image=False, image_filename='plot_image', format='png',
276276
_width=800, _height=600):
277277
""" Create a plotly graph locally as an HTML document or string.
278278
@@ -323,7 +323,7 @@ def plot(figure_or_data,
323323
will be downloaded.
324324
format (default='png') -- Specifies the format of the image to be
325325
downloaded if `downlowad_image` is True.
326-
image_filename (default='plot') -- Sets the name of the file your image
326+
image_filename (default='plot_image') -- Sets the name of the file your image
327327
will be saved to. The extension should not be included.
328328
_height (default=600) -- Specifies the height of the image in `px`.
329329
_width (default=800) -- Specifies the width of the image in `px`.
@@ -418,7 +418,7 @@ def plot_mpl(mpl_fig, resize=False, strip_style=False,
418418
verbose=False, show_link=True, link_text='Export to plot.ly',
419419
validate=True, output_type='file', include_plotlyjs=True,
420420
filename='temp-plot.html', auto_open=True,
421-
image=False, image_filename='plot', format='png',
421+
image=False, image_filename='plot_image', format='png',
422422
_height=600, _width=800):
423423
"""
424424
Convert a matplotlib figure to a Plotly graph stored locally as HTML.
@@ -467,7 +467,7 @@ def plot_mpl(mpl_fig, resize=False, strip_style=False,
467467
will be downloaded.
468468
format (default='png') -- Specifies the format of the image to be
469469
downloaded if `downlowad_image` is True.
470-
image_filename (default='plot') -- Sets the name of the file your image
470+
image_filename (default='plot_image') -- Sets the name of the file your image
471471
will be saved to. The extension should not be included.
472472
_height (default=600) -- Specifies the height of the image in `px`.
473473
_width (default=800) -- Specifies the width of the image in `px`.
@@ -497,7 +497,7 @@ def plot_mpl(mpl_fig, resize=False, strip_style=False,
497497
def iplot_mpl(mpl_fig, resize=False, strip_style=False,
498498
verbose=False, show_link=True,
499499
link_text='Export to plot.ly', validate=True,
500-
image=False, image_filename='plot', _format='png',
500+
image=False, image_filename='plot_image', _format='png',
501501
_height=600, _width=800):
502502
"""
503503
Convert a matplotlib figure to a plotly graph and plot inside an IPython
@@ -531,7 +531,7 @@ def iplot_mpl(mpl_fig, resize=False, strip_style=False,
531531
will be downloaded.
532532
_format (default='png') -- Specifies the format of the image to be
533533
downloaded if `downlowad_image` is True.
534-
image_filename (default='plot') -- Sets the name of the file your image
534+
image_filename (default='plot_image') -- Sets the name of the file your image
535535
will be saved to. The extension should not be included.
536536
_height (default=600) -- Specifies the height of the image in `px`.
537537
_width (default=800) -- Specifies the width of the image in `px`.

0 commit comments

Comments
 (0)