Skip to content

Commit

Permalink
Add ipywidgets install for plotly
Browse files Browse the repository at this point in the history
I am using just an install of JupyterLab, not through Anaconda, and I needed to also install `ipywidgets` for Plotly to work. This is mentioned in their documentation: https://plotly.com/python/getting-started/#jupyterlab-support
  • Loading branch information
vinegar-tom authored Oct 31, 2024
1 parent 829265e commit 66c3145
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions episodes/data-visualisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ plotting package in Python called Plotly. First let’s install and then use the
```python
# uncomment below to install plotly if the import fails.
# !pip install plotly
# you may also need to install ipywidgets.
# !pip install ipywidgets
import plotly.express as px
```

Expand Down

0 comments on commit 66c3145

Please sign in to comment.