-
Notifications
You must be signed in to change notification settings - Fork 595
New architecture and functions for n.explore() using a new PydeckPlotter class #1312
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
Conversation
… .show() to .explore()
…s. Implemented a variety of error checks, warnings and dropping of components in plot.
…ded to empty lines/links.
|
Update: Apart from generating pie charts based on multi-index pd.Series, all functionality from static n.plot() are now implemented in n.explore, with identical API wherever applicable: Currently, n.explore() would directly return a functioning pydeck object which could be directly manipulated using pydecks built-in methods. It also allows for stacking with other already generated pydeck object, very similar to how matplotlib.pyplot handles stacking. However, by returning a pydeck object directly, subsequent manipulations to the generated object can only be done on the pydeck object level, not on the PydeckPlotter class (which is introduced in pypsa.plot.maps.interactive). For example, not implemented though, the PydeckPlotter class can have additional properties like Long story short, here are the options I see: Do you have any thoughts @lkstrp, @fneum, @FabianHofmann ? |
|
From my side it's also ready to merge :) |

Changes proposed in this Pull Request
n.explore()and extending its functionalities with interactive plotsImplemented features
Checklist
doc.doc/release_notes.rstof the upcoming release is included.