Skip to content

Commit e20da3e

Browse files
committed
ensuring the use of the correct argument names, and proper assignment of values
1 parent 8b39241 commit e20da3e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

plotly/offline/offline.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,9 @@ def plot_mpl(mpl_fig, resize=False, strip_style=False,
465465
"""
466466
plotly_plot = tools.mpl_to_plotly(mpl_fig, resize, strip_style, verbose)
467467
return plot(plotly_plot, show_link, link_text, validate, output_type,
468-
include_plotlyjs, filename, auto_open, download_image,
469-
image_filename, format, _height, _width)
468+
include_plotlyjs, filename, auto_open,
469+
download_image=download_image, image_filename=image_filename,
470+
format=format, _height=_height, _width=_width)
470471

471472

472473
def iplot_mpl(mpl_fig, resize=False, strip_style=False,
@@ -519,7 +520,7 @@ def iplot_mpl(mpl_fig, resize=False, strip_style=False,
519520
"""
520521
plotly_plot = tools.mpl_to_plotly(mpl_fig, resize, strip_style, verbose)
521522
return iplot(plotly_plot, show_link, link_text, validate,
522-
download_image=download_image, image_filename=image_filename,
523+
download_image=download_image, filename=image_filename,
523524
format=_format, _height=_height, _width=_width)
524525

525526

0 commit comments

Comments
 (0)