diff --git a/examples/01_basic_usage.ipynb b/examples/01_basic_usage.ipynb index 0ca45cf9..6d3e2c52 100644 --- a/examples/01_basic_usage.ipynb +++ b/examples/01_basic_usage.ipynb @@ -527,7 +527,16 @@ "id": "47", "metadata": {}, "source": [ - "Plotly figures:" + "Plotly figures:\n", + "\n", + "> NOTE: Some users reported the following error when running the Plotly cells:\n", + "> ```\n", + "> ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed\n", + "> ```\n", + "> This is a Plotly issue which is documented [here](https://github.com/plotly/plotly.py/issues/3285); to solve it, we recommend installing nbformat in your environment, e.g. with\n", + "> ```sh\n", + "> pip install --upgrade nbformat\n", + "> ```" ] }, { diff --git a/examples/01_basic_usage.py b/examples/01_basic_usage.py index 7ed5641b..8edda404 100644 --- a/examples/01_basic_usage.py +++ b/examples/01_basic_usage.py @@ -6,7 +6,7 @@ # extension: .py # format_name: percent # format_version: '1.3' -# jupytext_version: 1.16.4 +# jupytext_version: 1.16.2 # kernelspec: # display_name: .venv # language: python @@ -260,6 +260,15 @@ def my_func(x): # %% [markdown] # Plotly figures: +# +# > NOTE: Some users reported the following error when running the Plotly cells: +# > ``` +# > ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed +# > ``` +# > This is a Plotly issue which is documented [here](https://github.com/plotly/plotly.py/issues/3285); to solve it, we recommend installing nbformat in your environment, e.g. with +# > ```sh +# > pip install --upgrade nbformat +# > ``` # %% df = px.data.iris()