4

Does anyone knows how should I share a jupyter notebook (with python3) that contains plotly made charts ? So far I use github to share notebooks, but the plotly charts just won't show up on it.

2 Answers 2

4

You need to use Plotly Offline for iPython Notebooks. The link shows the syntax for creating charts. If you create the charts in offline mode, you can covert the notebook to html and share it with anyone. You would do this by:

  1. Creating the charts with Plotly Offline
  2. cd into your directory where the notebook is held
  3. convert the notebook to a static html file by typing ipython nbconvert [YOUR NOTEBOOK NAME].ipynb
Sign up to request clarification or add additional context in comments.

3 Comments

Where should I type ipython nbconvert ... ? inside the notebook or a cmd ?
type it at the cmd after you've cd'd to the proper directory
going to File > Download As > html worked just fine ! thanks for the effort
0

If you use kyso.io (disclaimer: I founded kyso) you can share notebooks online easily and it supports plotly.

you can share a notebook using these commands

kyso create "some study title" kyso push "a version message" 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.