@@ -267,8 +267,8 @@ def _plot_html(figure_or_data, config, validate, default_width,
267
267
optional_line2 +
268
268
'</script>'
269
269
'' ).format (
270
- id = plotdivid , script = script ,
271
- height = height , width = width )
270
+ id = plotdivid , script = script ,
271
+ height = height , width = width )
272
272
273
273
return plotly_html_div , plotdivid , width , height
274
274
@@ -369,7 +369,7 @@ def iplot(figure_or_data, show_link=True, link_text='Export to plot.ly',
369
369
if image not in __IMAGE_FORMATS :
370
370
raise ValueError ('The image parameter must be one of the following'
371
371
': {}' .format (__IMAGE_FORMATS )
372
- )
372
+ )
373
373
# if image is given, and is a valid format, we will download the image
374
374
script = get_image_download_script ('iplot' ).format (format = image ,
375
375
width = image_width ,
@@ -493,7 +493,7 @@ def plot(figure_or_data, show_link=True, link_text='Export to plot.ly',
493
493
if image not in __IMAGE_FORMATS :
494
494
raise ValueError ('The image parameter must be one of the '
495
495
'following: {}' .format (__IMAGE_FORMATS )
496
- )
496
+ )
497
497
# if the check passes then download script is injected.
498
498
# write the download script:
499
499
script = get_image_download_script ('plot' )
0 commit comments