-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Sim plots] Too many plots at once; fix via >1 page selectable via sidebar #1021
Comments
Do we really need multiple pages for this? |
I agree.
"Multiple pages" has two meanings:
We are in category (2). We want to implement different tabs, but how you do it with Plotly/Dash is via a "Multi-Page App". (At least that's my understanding of it! If you see a simpler way, go for it.) |
This is what I mean: |
Thank you for finding that. I think I'd been confused, it had looked like tabs had been deprecated, but digging around right now, it looks like they're still properly supported. Therefore: yes do go with the "tab" core component. |
Ok |
TODOs
Specifics: using the same style as "inspiration" below, group the plots with the following Sidebar label -> plots:
Background / motivation
From matplotlib -> streamlit work #749 then streamlit -> dash work #906 we now have beautiful sim plots in a webapp, great. See "status quo screenshot" below.
However there's already a lot of plots in one webapp. They could readily be grouped, each into their own screen, giving them more "space to breathe" with more interactivity etc. For example, impacts + sweeps could go into their own screen.
Towards a solution
What we want is a Plotly/Dash "Multi-Page App", where:
Resources
dash.plotly.com
"Multi-Page Apps and URL Support" docs, video tutorialInspiration
Status quo screenshot
The text was updated successfully, but these errors were encountered: