I was thinking if i could save it like fig.write_html(‘somefilename.html’), like how it was done using plotly library, but im entirely wrong. Looked up the internet, there seems no way.
FYI, the data is confidential, so i cant host it on public server.
Please help…
Hi @moomoochng welcome to the forums.
Just to understand you correctly: You created a dash app and want to share it with colleague within your company?
Hi AIMPED.
I am new to plotly and dash, so i am not sure what do you mean by dash app.
But I have managed to create an interactive plot with dash, and wanted to share the confidential plot with my colleague within the company.
Previously with plotly, i could easily save it as html, and my colleague (without python software) could easily open, play around the interactive plot and get the graph he needs.
Dash app stands for Dash application, and that is exactly what you created: an application using the Plotly Dash library.
I did some tests with saving the page as html using the browsers save page functionality, but unfortunately when opening the saved .html
I am faced with the Loading...
page that Dash shows when initializing the app. So unless somebody else knows how to make it work, I guess this route doesn’t work.
As an alternative, you can always share the code with your colleague, though they need to have Python installed to run it then.
Hello @moomoochng,
Is this on an internal network/vpn? If so, if you are running your dash app with ip ‘0.0.0.0’, he can navigate to your computer’s ip address and port number for dash and see your page.
Hi Tobs,
Thanks for the advice. I tried saving to html too and faced with the loading…
I am thinking of using pyinstaller to compress it to .exe file as a final resort.
For my colleague to navigate my computer ip address, does that mean I need to run python while he looks at it?
I realize once i close the python, and try to access my own localhost, the link doesnt work anymore.
The data is not continuously updating. Just that there are lot of dropdowns to filter the data. That why I am thinking dash could be much more easier than plotly.
Dash would work even if the data was continuously updating.
Yes, you would have to be running the server in order for him to see and interact with it.
When you run with ‘0.0.0.0’, it should tell you what your ip address is that it is running on. You could even have a task scheduler start the server up in the background so you don’t need to start it manually.