@@ -105,7 +105,7 @@ def _build_mathjax_script(url):
105
105
.format (url = url ))
106
106
107
107
108
- def _get_jconfig (config ):
108
+ def _get_jconfig (config = None ):
109
109
110
110
configkeys = (
111
111
'staticPlot' ,
@@ -316,10 +316,10 @@ def iplot(figure_or_data, show_link=False, link_text='Export to plot.ly',
316
316
`show_link` and `link_text` set the associated options in this
317
317
dictionary if it doesn't contain them already.
318
318
auto_play (default=True) -- Whether to automatically start the animation
319
- sequence on page load, if the figure contains frames. Has no effect if
319
+ sequence on page load, if the figure contains frames. Has no effect if
320
320
the figure does not contain frames.
321
- animation_opts (default=None) -- Dict of custom animation parameters that
322
- are used for the automatically started animation on page load. This
321
+ animation_opts (default=None) -- Dict of custom animation parameters that
322
+ are used for the automatically started animation on page load. This
323
323
dict is passed to the function Plotly.animate in Plotly.js. See
324
324
https://github.com/plotly/plotly.js/blob/master/src/plots/animation_attributes.js
325
325
for available options. Has no effect if the figure
@@ -493,8 +493,8 @@ def plot(figure_or_data, show_link=False, link_text='Export to plot.ly',
493
493
auto_play (default=True) -- Whether to automatically start the animation
494
494
sequence on page load if the figure contains frames. Has no effect if
495
495
the figure does not contain frames.
496
- animation_opts (default=None) -- Dict of custom animation parameters that
497
- are used for the automatically started animation on page load. This
496
+ animation_opts (default=None) -- Dict of custom animation parameters that
497
+ are used for the automatically started animation on page load. This
498
498
dict is passed to the function Plotly.animate in Plotly.js. See
499
499
https://github.com/plotly/plotly.js/blob/master/src/plots/animation_attributes.js
500
500
for available options. Has no effect if the figure
0 commit comments