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.
Allow use of plotly dash applications within Jupyter notebooks, with the management of both session and internal state.
To get started right away, install the jupyter-dash package using pip… Then, copy any Dash example into a Jupyter notebook cell and replace the dash. Dash class with the jupyter_dash. JupyterDash class.
where Ctrl + C is working or if you prefer to stick to Jupyter Notebook you can terminate the execution by clicking in the Jupyter Notebook menu Kernel --> Restart , change the code and run the cell again.
(Disclaimer, I help maintain Dash)
See https://github.com/plotly/jupyterlab-dash. This is a JupyterLab extension that embeds Dash within Jupyter.
Also see alternative solutions in the Dash Community Forum like the Can I run dash app in jupyter topic.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With