Hi,
Apologies if I don’t fully understand the plotly Dashboards, but are these solely a plotly server based feature? I.e. is it possible to create and run a dashboard on my local computer (and display via a web browser) the way I can create and run plotly charts?
So I could e.g. create a simple replica of this https://plot.ly/python/dashboard/ to run locally without needing to upload to the plotly server?
Thanks.
Hi @rupert,
Yes, the classic dashboards (https://plot.ly/python/dashboard/) are a cloud service. For local/offline dashboards, use the newer Dash project (https://dash.plot.ly/).
Hope that helps!
-Jon
Hi,
Thank you for your reply.
I was aware of Dash, but I understood that this was an interactive framework (based on Flask).
I was looking for a way to create a dashboard (a static set of charts, like displayed here: https://plot.ly/python/dashboard/ ) programmatically with python dictionaries (like e.g. box_a = {‘type’: ‘box’, ‘boxType’: ‘plot’, ‘title’: ‘scatter-for-dashboard’ } but pop up in a web browser in the way that pyo.plot(fig, config=config) does.
Are you saying that Dash is still the way to go?
Thanks.
Hi @rupert,
That’s correct, Dash is for creating interactive dashboards where you have a Python kernel in the loop for performing dynamic updates to the widgets and plots.
If you’re not looking for the interactivity, and would like to display a collection of plots together in a standalone webpage, another option is to create your own simple html files. Here is an example of that approach: How to make Html Report readable from all browsers.
-Jon