pythonjupyter-notebookplotlyplotly-dash

How to use dash within Jupyter notebook or JupyterLab?


Is it possible to have a dash app within a Jupyter Notebook, rather than served up and viewed in a browser?

My intention is to link graphs within a Jupyter notebook so that hovering over one graph generates the input required for another graph.


Solution

  • Since Dash 2.11 it can be used directly in Jupyter, without any extensions. See the official documentation: https://dash.plotly.com/dash-in-jupyter

    As mentioned by Matt in a comment on the currently accepted answer.

    Added as a separate answer to give it higher visibility, as I believe it currently is the most relevant way.