Skip to content

Commit 8b39241

Browse files
committed
fixed typo
1 parent cae796e commit 8b39241

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/offline/offline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def plot_mpl(mpl_fig, resize=False, strip_style=False,
472472
def iplot_mpl(mpl_fig, resize=False, strip_style=False,
473473
verbose=False, show_link=True,
474474
link_text='Export to plot.ly', validate=True,
475-
donwload_image=False, image_filename='plot', format='png',
475+
download_image=False, image_filename='plot', _format='png',
476476
_height=600, _width=800):
477477
"""
478478
Convert a matplotlib figure to a plotly graph and plot inside an IPython
@@ -520,7 +520,7 @@ def iplot_mpl(mpl_fig, resize=False, strip_style=False,
520520
plotly_plot = tools.mpl_to_plotly(mpl_fig, resize, strip_style, verbose)
521521
return iplot(plotly_plot, show_link, link_text, validate,
522522
download_image=download_image, image_filename=image_filename,
523-
format=format, _height=_height, _width=_width)
523+
format=_format, _height=_height, _width=_width)
524524

525525

526526
def enable_mpl_offline(resize=False, strip_style=False,

0 commit comments

Comments
 (0)