From 82fec700d8ee6201e820b1f25311624f0aaf0adc Mon Sep 17 00:00:00 2001 From: Chris P Date: Sat, 24 Jan 2015 12:46:18 -0500 Subject: [PATCH] cached call signature --- plotly/plotly/plotly.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plotly/plotly/plotly.py b/plotly/plotly/plotly.py index e3ba3fa4292..19568d459ea 100644 --- a/plotly/plotly/plotly.py +++ b/plotly/plotly/plotly.py @@ -97,9 +97,14 @@ def get_credentials(): ### plot stuff ### -def iplot(figure_or_data, **plot_options): +def iplot(figure_or_data, cached=False, **plot_options): """Create a unique url for this plot in Plotly and open in IPython. + cached (bool) -- Show a static image of the graph while the interactive + version loads. Note: the interactive version will + not display on notebooks if Javascript can't be run, + e.g. notebooks shared with nbviewer. + plot_options keyword agruments: filename (string) -- the name that will be associated with this figure fileopt ('new' | 'overwrite' | 'extend' | 'append')