How to use dash within Jupyter notebook or JupyterLab?

前端 未结 4 1671
Happy的楠姐
Happy的楠姐 2021-01-31 18:08

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 t

4条回答
  •  滥情空心
    2021-01-31 18:47

    I am not sure dash apps can be displayed within a Jupyter notebook. But if what you're looking for is using sliders, combo boxes and other buttons, you may be interested in ipywidgets that come from Jupyter directly.

    These may be used with plotly, as shown here.


    EDIT

    Eventually it seems that there are solutions to embed dash apps inside Jupyter by using an iframe and IPython.display.display_html(). See this function and this GitHub repo for details.

提交回复
热议问题