How to use plot.ly in its free / opensource mode
From the plot.ly website for histogram
https://plot.ly/python/histograms/
we have the following snippet:
import plotly.plotly as py
import plotly.graph_objs as go
import numpy as np
x = np.random.randn(500)
data = [go.Histogram(x=x)]
py.iplot(data, filename='basic histogram')
But running this gives us complaints that it is not being run on their hosted service:
Aw, snap! We didn't get a username with your request.
Don't have an account? https://plot.ly/api_signup
Questions? accounts@plot.ly
---------------------------------------------------------------------------
PlotlyError Traceback (most recent call last)
<ipython-input-33-bf076fa5dd12> in <module>
7 data = [go.Histogram(x=x)]
8
----> 9 py.iplot(data, filename='basic histogram')
~/Library/Python/3.6/lib/python/site-packages/plotly/plotly/plotly.py in iplot(figure_or_data, **plot_options)
162 embed_options['height'] = str(embed_options['height']) + 'px'
163
--> 164 return tools.embed(url, **embed_options)
165
166
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in embed(file_owner_or_url, file_id, width, height)
394 else:
395 url = file_owner_or_url
--> 396 return PlotlyDisplay(url, width, height)
397 else:
398 if (get_config_defaults()['plotly_domain']
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in __init__(self, url, width, height)
1438 def __init__(self, url, width, height):
1439 self.resource = url
-> 1440 self.embed_code = get_embed(url, width=width, height=height)
1441 super(PlotlyDisplay, self).__init__(data=self.embed_code)
1442
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in get_embed(file_owner_or_url, file_id, width, height)
299 "'{1}'."
300 "nRun help on this function for more information."
--> 301 "".format(url, plotly_rest_url))
302 urlsplit = six.moves.urllib.parse.urlparse(url)
303 file_owner = urlsplit.path.split('/')[1].split('~')[1]
PlotlyError: Because you didn't supply a 'file_id' in the call, we're assuming you're trying to snag a figure from a url. You supplied the url, '', we expected it to start with 'https://plot.ly'.
Run help on this function for more information.
In [34]: 2018-11-22 17:40:38.622 Python[26768:4641247] Persistent UI failed to open file file:///Users/sboesch/Library/Saved%20Application%20State/org.python.python.savedState/window_1.data: No such file or directory (2)
So then how is plot.ly
to be used from a standard ipython
REPL?
python plotly
add a comment |
From the plot.ly website for histogram
https://plot.ly/python/histograms/
we have the following snippet:
import plotly.plotly as py
import plotly.graph_objs as go
import numpy as np
x = np.random.randn(500)
data = [go.Histogram(x=x)]
py.iplot(data, filename='basic histogram')
But running this gives us complaints that it is not being run on their hosted service:
Aw, snap! We didn't get a username with your request.
Don't have an account? https://plot.ly/api_signup
Questions? accounts@plot.ly
---------------------------------------------------------------------------
PlotlyError Traceback (most recent call last)
<ipython-input-33-bf076fa5dd12> in <module>
7 data = [go.Histogram(x=x)]
8
----> 9 py.iplot(data, filename='basic histogram')
~/Library/Python/3.6/lib/python/site-packages/plotly/plotly/plotly.py in iplot(figure_or_data, **plot_options)
162 embed_options['height'] = str(embed_options['height']) + 'px'
163
--> 164 return tools.embed(url, **embed_options)
165
166
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in embed(file_owner_or_url, file_id, width, height)
394 else:
395 url = file_owner_or_url
--> 396 return PlotlyDisplay(url, width, height)
397 else:
398 if (get_config_defaults()['plotly_domain']
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in __init__(self, url, width, height)
1438 def __init__(self, url, width, height):
1439 self.resource = url
-> 1440 self.embed_code = get_embed(url, width=width, height=height)
1441 super(PlotlyDisplay, self).__init__(data=self.embed_code)
1442
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in get_embed(file_owner_or_url, file_id, width, height)
299 "'{1}'."
300 "nRun help on this function for more information."
--> 301 "".format(url, plotly_rest_url))
302 urlsplit = six.moves.urllib.parse.urlparse(url)
303 file_owner = urlsplit.path.split('/')[1].split('~')[1]
PlotlyError: Because you didn't supply a 'file_id' in the call, we're assuming you're trying to snag a figure from a url. You supplied the url, '', we expected it to start with 'https://plot.ly'.
Run help on this function for more information.
In [34]: 2018-11-22 17:40:38.622 Python[26768:4641247] Persistent UI failed to open file file:///Users/sboesch/Library/Saved%20Application%20State/org.python.python.savedState/window_1.data: No such file or directory (2)
So then how is plot.ly
to be used from a standard ipython
REPL?
python plotly
Have you seen plot.ly/python/offline ?
– cody
Nov 23 '18 at 2:49
@cody It was not clear at first which permutation to try : it seems theoffline
mode is required.init_notebook_mode(connected=True)
Would you like to make an answer of that?
– javadba
Nov 23 '18 at 3:00
add a comment |
From the plot.ly website for histogram
https://plot.ly/python/histograms/
we have the following snippet:
import plotly.plotly as py
import plotly.graph_objs as go
import numpy as np
x = np.random.randn(500)
data = [go.Histogram(x=x)]
py.iplot(data, filename='basic histogram')
But running this gives us complaints that it is not being run on their hosted service:
Aw, snap! We didn't get a username with your request.
Don't have an account? https://plot.ly/api_signup
Questions? accounts@plot.ly
---------------------------------------------------------------------------
PlotlyError Traceback (most recent call last)
<ipython-input-33-bf076fa5dd12> in <module>
7 data = [go.Histogram(x=x)]
8
----> 9 py.iplot(data, filename='basic histogram')
~/Library/Python/3.6/lib/python/site-packages/plotly/plotly/plotly.py in iplot(figure_or_data, **plot_options)
162 embed_options['height'] = str(embed_options['height']) + 'px'
163
--> 164 return tools.embed(url, **embed_options)
165
166
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in embed(file_owner_or_url, file_id, width, height)
394 else:
395 url = file_owner_or_url
--> 396 return PlotlyDisplay(url, width, height)
397 else:
398 if (get_config_defaults()['plotly_domain']
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in __init__(self, url, width, height)
1438 def __init__(self, url, width, height):
1439 self.resource = url
-> 1440 self.embed_code = get_embed(url, width=width, height=height)
1441 super(PlotlyDisplay, self).__init__(data=self.embed_code)
1442
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in get_embed(file_owner_or_url, file_id, width, height)
299 "'{1}'."
300 "nRun help on this function for more information."
--> 301 "".format(url, plotly_rest_url))
302 urlsplit = six.moves.urllib.parse.urlparse(url)
303 file_owner = urlsplit.path.split('/')[1].split('~')[1]
PlotlyError: Because you didn't supply a 'file_id' in the call, we're assuming you're trying to snag a figure from a url. You supplied the url, '', we expected it to start with 'https://plot.ly'.
Run help on this function for more information.
In [34]: 2018-11-22 17:40:38.622 Python[26768:4641247] Persistent UI failed to open file file:///Users/sboesch/Library/Saved%20Application%20State/org.python.python.savedState/window_1.data: No such file or directory (2)
So then how is plot.ly
to be used from a standard ipython
REPL?
python plotly
From the plot.ly website for histogram
https://plot.ly/python/histograms/
we have the following snippet:
import plotly.plotly as py
import plotly.graph_objs as go
import numpy as np
x = np.random.randn(500)
data = [go.Histogram(x=x)]
py.iplot(data, filename='basic histogram')
But running this gives us complaints that it is not being run on their hosted service:
Aw, snap! We didn't get a username with your request.
Don't have an account? https://plot.ly/api_signup
Questions? accounts@plot.ly
---------------------------------------------------------------------------
PlotlyError Traceback (most recent call last)
<ipython-input-33-bf076fa5dd12> in <module>
7 data = [go.Histogram(x=x)]
8
----> 9 py.iplot(data, filename='basic histogram')
~/Library/Python/3.6/lib/python/site-packages/plotly/plotly/plotly.py in iplot(figure_or_data, **plot_options)
162 embed_options['height'] = str(embed_options['height']) + 'px'
163
--> 164 return tools.embed(url, **embed_options)
165
166
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in embed(file_owner_or_url, file_id, width, height)
394 else:
395 url = file_owner_or_url
--> 396 return PlotlyDisplay(url, width, height)
397 else:
398 if (get_config_defaults()['plotly_domain']
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in __init__(self, url, width, height)
1438 def __init__(self, url, width, height):
1439 self.resource = url
-> 1440 self.embed_code = get_embed(url, width=width, height=height)
1441 super(PlotlyDisplay, self).__init__(data=self.embed_code)
1442
~/Library/Python/3.6/lib/python/site-packages/plotly/tools.py in get_embed(file_owner_or_url, file_id, width, height)
299 "'{1}'."
300 "nRun help on this function for more information."
--> 301 "".format(url, plotly_rest_url))
302 urlsplit = six.moves.urllib.parse.urlparse(url)
303 file_owner = urlsplit.path.split('/')[1].split('~')[1]
PlotlyError: Because you didn't supply a 'file_id' in the call, we're assuming you're trying to snag a figure from a url. You supplied the url, '', we expected it to start with 'https://plot.ly'.
Run help on this function for more information.
In [34]: 2018-11-22 17:40:38.622 Python[26768:4641247] Persistent UI failed to open file file:///Users/sboesch/Library/Saved%20Application%20State/org.python.python.savedState/window_1.data: No such file or directory (2)
So then how is plot.ly
to be used from a standard ipython
REPL?
python plotly
python plotly
asked Nov 23 '18 at 1:44
javadbajavadba
22.1k33147289
22.1k33147289
Have you seen plot.ly/python/offline ?
– cody
Nov 23 '18 at 2:49
@cody It was not clear at first which permutation to try : it seems theoffline
mode is required.init_notebook_mode(connected=True)
Would you like to make an answer of that?
– javadba
Nov 23 '18 at 3:00
add a comment |
Have you seen plot.ly/python/offline ?
– cody
Nov 23 '18 at 2:49
@cody It was not clear at first which permutation to try : it seems theoffline
mode is required.init_notebook_mode(connected=True)
Would you like to make an answer of that?
– javadba
Nov 23 '18 at 3:00
Have you seen plot.ly/python/offline ?
– cody
Nov 23 '18 at 2:49
Have you seen plot.ly/python/offline ?
– cody
Nov 23 '18 at 2:49
@cody It was not clear at first which permutation to try : it seems the
offline
mode is required. init_notebook_mode(connected=True)
Would you like to make an answer of that?– javadba
Nov 23 '18 at 3:00
@cody It was not clear at first which permutation to try : it seems the
offline
mode is required. init_notebook_mode(connected=True)
Would you like to make an answer of that?– javadba
Nov 23 '18 at 3:00
add a comment |
2 Answers
2
active
oldest
votes
Since plotly 3 you can work in Jupyter Notebooks using only plotly.graph_objs
though FigureWidget
, if you need to explicitly show a plot you can use ipython's display
as with any other widget:
from IPython import display
from plotly import graph_objs as go
import numpy as np
x = np.random.randn(500)
figure = go.FigureWidget()
figure.add_trace(go.Histogram(x=x))
display.display(figure)
ok - but I'm not using jupyter notebook here ;)
– javadba
Nov 23 '18 at 4:15
Sorry, I assumed because of the reference toinit_notebook_mode
. There is a new proposed method though plotly'sio
module calledwrite_html
as you can see in this issue, but it hasn't been implemented yet.io
has recently been added to plotly in version 3.2 so it might be available soon asoffline
is becoming legacy.
– vlizana
Nov 23 '18 at 19:28
add a comment |
Two things are required: first off make sure to have a recent version of plotly
: I had had 1.8.3 and after upgrading to 2.7.0 things are looking much better.
In addition: from a comment by @cody - I looked more carefully at the offline
mode at http:// plot.ly/python/offline . It is not immediately apparent which way to plot : but we need the following magic to be run:
init_notebook_mode(connected=True)
So the code snippet is now:
from plotly import __version__
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
import plotly.plotly as py
import plotly.graph_objs as go
import pandas as pd
import requests
bike = pd.read_json('/shared/bikeRental.json',lines=True)
#bike.createOrReplaceTempView('bike')
#x=sqldf('select Duration from bikePd where Duration < 7200')
x=sqldf('select Duration from bike where Duration < 7200')
init_notebook_mode(connected=True)
hist = [go.Histogram(x=x['Duration'].values)]
plot(hist,filename='/shared/bikeRides')
Which produces:
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53439750%2fhow-to-use-plot-ly-in-its-free-opensource-mode%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Since plotly 3 you can work in Jupyter Notebooks using only plotly.graph_objs
though FigureWidget
, if you need to explicitly show a plot you can use ipython's display
as with any other widget:
from IPython import display
from plotly import graph_objs as go
import numpy as np
x = np.random.randn(500)
figure = go.FigureWidget()
figure.add_trace(go.Histogram(x=x))
display.display(figure)
ok - but I'm not using jupyter notebook here ;)
– javadba
Nov 23 '18 at 4:15
Sorry, I assumed because of the reference toinit_notebook_mode
. There is a new proposed method though plotly'sio
module calledwrite_html
as you can see in this issue, but it hasn't been implemented yet.io
has recently been added to plotly in version 3.2 so it might be available soon asoffline
is becoming legacy.
– vlizana
Nov 23 '18 at 19:28
add a comment |
Since plotly 3 you can work in Jupyter Notebooks using only plotly.graph_objs
though FigureWidget
, if you need to explicitly show a plot you can use ipython's display
as with any other widget:
from IPython import display
from plotly import graph_objs as go
import numpy as np
x = np.random.randn(500)
figure = go.FigureWidget()
figure.add_trace(go.Histogram(x=x))
display.display(figure)
ok - but I'm not using jupyter notebook here ;)
– javadba
Nov 23 '18 at 4:15
Sorry, I assumed because of the reference toinit_notebook_mode
. There is a new proposed method though plotly'sio
module calledwrite_html
as you can see in this issue, but it hasn't been implemented yet.io
has recently been added to plotly in version 3.2 so it might be available soon asoffline
is becoming legacy.
– vlizana
Nov 23 '18 at 19:28
add a comment |
Since plotly 3 you can work in Jupyter Notebooks using only plotly.graph_objs
though FigureWidget
, if you need to explicitly show a plot you can use ipython's display
as with any other widget:
from IPython import display
from plotly import graph_objs as go
import numpy as np
x = np.random.randn(500)
figure = go.FigureWidget()
figure.add_trace(go.Histogram(x=x))
display.display(figure)
Since plotly 3 you can work in Jupyter Notebooks using only plotly.graph_objs
though FigureWidget
, if you need to explicitly show a plot you can use ipython's display
as with any other widget:
from IPython import display
from plotly import graph_objs as go
import numpy as np
x = np.random.randn(500)
figure = go.FigureWidget()
figure.add_trace(go.Histogram(x=x))
display.display(figure)
answered Nov 23 '18 at 3:49
vlizanavlizana
658315
658315
ok - but I'm not using jupyter notebook here ;)
– javadba
Nov 23 '18 at 4:15
Sorry, I assumed because of the reference toinit_notebook_mode
. There is a new proposed method though plotly'sio
module calledwrite_html
as you can see in this issue, but it hasn't been implemented yet.io
has recently been added to plotly in version 3.2 so it might be available soon asoffline
is becoming legacy.
– vlizana
Nov 23 '18 at 19:28
add a comment |
ok - but I'm not using jupyter notebook here ;)
– javadba
Nov 23 '18 at 4:15
Sorry, I assumed because of the reference toinit_notebook_mode
. There is a new proposed method though plotly'sio
module calledwrite_html
as you can see in this issue, but it hasn't been implemented yet.io
has recently been added to plotly in version 3.2 so it might be available soon asoffline
is becoming legacy.
– vlizana
Nov 23 '18 at 19:28
ok - but I'm not using jupyter notebook here ;)
– javadba
Nov 23 '18 at 4:15
ok - but I'm not using jupyter notebook here ;)
– javadba
Nov 23 '18 at 4:15
Sorry, I assumed because of the reference to
init_notebook_mode
. There is a new proposed method though plotly's io
module called write_html
as you can see in this issue, but it hasn't been implemented yet. io
has recently been added to plotly in version 3.2 so it might be available soon as offline
is becoming legacy.– vlizana
Nov 23 '18 at 19:28
Sorry, I assumed because of the reference to
init_notebook_mode
. There is a new proposed method though plotly's io
module called write_html
as you can see in this issue, but it hasn't been implemented yet. io
has recently been added to plotly in version 3.2 so it might be available soon as offline
is becoming legacy.– vlizana
Nov 23 '18 at 19:28
add a comment |
Two things are required: first off make sure to have a recent version of plotly
: I had had 1.8.3 and after upgrading to 2.7.0 things are looking much better.
In addition: from a comment by @cody - I looked more carefully at the offline
mode at http:// plot.ly/python/offline . It is not immediately apparent which way to plot : but we need the following magic to be run:
init_notebook_mode(connected=True)
So the code snippet is now:
from plotly import __version__
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
import plotly.plotly as py
import plotly.graph_objs as go
import pandas as pd
import requests
bike = pd.read_json('/shared/bikeRental.json',lines=True)
#bike.createOrReplaceTempView('bike')
#x=sqldf('select Duration from bikePd where Duration < 7200')
x=sqldf('select Duration from bike where Duration < 7200')
init_notebook_mode(connected=True)
hist = [go.Histogram(x=x['Duration'].values)]
plot(hist,filename='/shared/bikeRides')
Which produces:
add a comment |
Two things are required: first off make sure to have a recent version of plotly
: I had had 1.8.3 and after upgrading to 2.7.0 things are looking much better.
In addition: from a comment by @cody - I looked more carefully at the offline
mode at http:// plot.ly/python/offline . It is not immediately apparent which way to plot : but we need the following magic to be run:
init_notebook_mode(connected=True)
So the code snippet is now:
from plotly import __version__
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
import plotly.plotly as py
import plotly.graph_objs as go
import pandas as pd
import requests
bike = pd.read_json('/shared/bikeRental.json',lines=True)
#bike.createOrReplaceTempView('bike')
#x=sqldf('select Duration from bikePd where Duration < 7200')
x=sqldf('select Duration from bike where Duration < 7200')
init_notebook_mode(connected=True)
hist = [go.Histogram(x=x['Duration'].values)]
plot(hist,filename='/shared/bikeRides')
Which produces:
add a comment |
Two things are required: first off make sure to have a recent version of plotly
: I had had 1.8.3 and after upgrading to 2.7.0 things are looking much better.
In addition: from a comment by @cody - I looked more carefully at the offline
mode at http:// plot.ly/python/offline . It is not immediately apparent which way to plot : but we need the following magic to be run:
init_notebook_mode(connected=True)
So the code snippet is now:
from plotly import __version__
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
import plotly.plotly as py
import plotly.graph_objs as go
import pandas as pd
import requests
bike = pd.read_json('/shared/bikeRental.json',lines=True)
#bike.createOrReplaceTempView('bike')
#x=sqldf('select Duration from bikePd where Duration < 7200')
x=sqldf('select Duration from bike where Duration < 7200')
init_notebook_mode(connected=True)
hist = [go.Histogram(x=x['Duration'].values)]
plot(hist,filename='/shared/bikeRides')
Which produces:
Two things are required: first off make sure to have a recent version of plotly
: I had had 1.8.3 and after upgrading to 2.7.0 things are looking much better.
In addition: from a comment by @cody - I looked more carefully at the offline
mode at http:// plot.ly/python/offline . It is not immediately apparent which way to plot : but we need the following magic to be run:
init_notebook_mode(connected=True)
So the code snippet is now:
from plotly import __version__
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
import plotly.plotly as py
import plotly.graph_objs as go
import pandas as pd
import requests
bike = pd.read_json('/shared/bikeRental.json',lines=True)
#bike.createOrReplaceTempView('bike')
#x=sqldf('select Duration from bikePd where Duration < 7200')
x=sqldf('select Duration from bike where Duration < 7200')
init_notebook_mode(connected=True)
hist = [go.Histogram(x=x['Duration'].values)]
plot(hist,filename='/shared/bikeRides')
Which produces:
edited Nov 23 '18 at 20:17
answered Nov 23 '18 at 3:04
javadbajavadba
22.1k33147289
22.1k33147289
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53439750%2fhow-to-use-plot-ly-in-its-free-opensource-mode%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you seen plot.ly/python/offline ?
– cody
Nov 23 '18 at 2:49
@cody It was not clear at first which permutation to try : it seems the
offline
mode is required.init_notebook_mode(connected=True)
Would you like to make an answer of that?– javadba
Nov 23 '18 at 3:00