@@ -188,7 +188,7 @@ def _plot_html(figure_or_data, show_link, link_text, validate,
188
188
189
189
def iplot (figure_or_data , show_link = True , link_text = 'Export to plot.ly' ,
190
190
validate = True , download_image = False , format = 'png' ,
191
- _width = 800 , _height = 600 , filename = 'newplot ' ):
191
+ _width = 800 , _height = 600 , filename = 'plot ' ):
192
192
"""
193
193
Draw plotly graphs inside an IPython notebook without
194
194
connecting to an external server.
@@ -211,6 +211,14 @@ def iplot(figure_or_data, show_link=True, link_text='Export to plot.ly',
211
211
has become outdated with your version of
212
212
graph_reference.json or if you need to include
213
213
extra, unnecessary keys in your figure.
214
+ downloage_image (default=False) -- If True, the image of the current plot
215
+ will be downloaded.
216
+ format (default='png') -- Specifies the format of the image to be
217
+ downloaded if `downlowad_image` is True.
218
+ filename (default='plot') -- Sets the name of the file your image
219
+ will be saved to. The extension should not be included.
220
+ _height (default=600) -- Specifies the height of the image in `px`.
221
+ _width (default=800) -- Specifies the width of the image in `px`.
214
222
215
223
Example:
216
224
```
@@ -311,6 +319,14 @@ def plot(figure_or_data,
311
319
auto_open (default=True) -- If True, open the saved file in a
312
320
web browser after saving.
313
321
This argument only applies if `output_type` is 'file'.
322
+ downloage_image (default=False) -- If True, the image of the current plot
323
+ will be downloaded.
324
+ format (default='png') -- Specifies the format of the image to be
325
+ downloaded if `downlowad_image` is True.
326
+ image_filename (default='plot') -- Sets the name of the file your image
327
+ will be saved to. The extension should not be included.
328
+ _height (default=600) -- Specifies the height of the image in `px`.
329
+ _width (default=800) -- Specifies the width of the image in `px`.
314
330
"""
315
331
if output_type not in ['div' , 'file' ]:
316
332
raise ValueError (
@@ -447,6 +463,14 @@ def plot_mpl(mpl_fig, resize=False, strip_style=False,
447
463
auto_open (default=True) -- If True, open the saved file in a
448
464
web browser after saving.
449
465
This argument only applies if `output_type` is 'file'.
466
+ downloage_image (default=False) -- If True, the image of the current plot
467
+ will be downloaded.
468
+ format (default='png') -- Specifies the format of the image to be
469
+ downloaded if `downlowad_image` is True.
470
+ image_filename (default='plot') -- Sets the name of the file your image
471
+ will be saved to. The extension should not be included.
472
+ _height (default=600) -- Specifies the height of the image in `px`.
473
+ _width (default=800) -- Specifies the width of the image in `px`.
450
474
451
475
Example:
452
476
```
@@ -503,6 +527,14 @@ def iplot_mpl(mpl_fig, resize=False, strip_style=False,
503
527
has become outdated with your version of
504
528
graph_reference.json or if you need to include
505
529
extra, unnecessary keys in your figure.
530
+ downloage_image (default=False) -- If True, the image of the current plot
531
+ will be downloaded.
532
+ _format (default='png') -- Specifies the format of the image to be
533
+ downloaded if `downlowad_image` is True.
534
+ image_filename (default='plot') -- Sets the name of the file your image
535
+ will be saved to. The extension should not be included.
536
+ _height (default=600) -- Specifies the height of the image in `px`.
537
+ _width (default=800) -- Specifies the width of the image in `px`.
506
538
507
539
Example:
508
540
```
0 commit comments