question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plotly and cufflinks are not working with jupyter notebook

See original GitHub issue

Hello,

I have used plotyly in my jupyter notebook before today and it worked just fine. But now, it is no longer working Here is the code which I ran to launch plotly and cufflinks in my jupyter notebook: import plotly.plotly as py from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot import cufflinks as cf cf.go_offline init_notebook_mode(connected=True)

And when I tried to run this code:

train['Fare'].iplot(kind = 'hist', bins = 30) ,

it gave this error:

Aw, snap! We don't have an account for ''. Want to try again? You can authenticate with your email address or username. Sign in is not case sensitive.

Don't have an account? plot.ly

Questions? support@plot.ly

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.

I have tried every possible way I know to fix this. Any other useful suggestion will be appreciated.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

31reactions
BharatKoticommented, Apr 14, 2018

step 1 : Create an account on Plotly Step 2 : Generate an API, which is under settings Step 3: Please insert your username and api key and run the following code import plotly plotly.tools.set_credentials_file(username=’ ‘, api_key=’ ')

11reactions
JWSertlcommented, Jun 29, 2018

my same problem was solved by cf.go_offline() instead of cf.go_offline

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Plotly is not working on Jupyter Lab? - Stack Overflow
I had to update my Macbook Air's iOS (Catalina), since I updated to this iOS's version, plotly stop working on my Jupyter-lab's enviroment....
Read more >
Pandas Dataframe Visualization with Plotly via Cufflinks in ...
Now, I am writing down several problems that I faced when I was building the cufflink in Python. Update (2018.10.11):. cufflinks now support...
Read more >
Plotly and Cufflinks - | notebook.community
Plotly is a library that allows you to create interactive plots that you can use in dashboards or websites (you can save them...
Read more >
Pandas plotting backend in Python
Over 13 examples of Pandas Plotting Backend including changing color, size, log axes, and more in Python.
Read more >
Plotly - Plotting Inline with Jupyter Notebook - Tutorialspoint
Keep rest of the script as it is and run the notebook cell by pressing Shift+Enter. Graph will be displayed offline inside the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found