-
Notifications
You must be signed in to change notification settings - Fork 35
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
Document Panel in-place updates #539
Document Panel in-place updates #539
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks amazing! Thank you!
Ideally we would remove the _height
parameter... I assume you tested that and it didn't work without it? Happy to merge and not block on that, but maybe with a comment somewhere saying that the _height
parameter is subject to change in the future.
Thanks for the feedback @kylebarron. I believe I've addressed the comments. Let me know if there is more I should do. Thanks. |
cities_map = Map(layer) | ||
|
||
# Fit to the available space | ||
cities_map.layout.height = cities_map.layout.width = "100%" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh cool. TIL. Maybe we should be setting this from the Lonboard side.
Thanks! I kicked off a docs build, so this should be on the website shortly |
This PR updates the Panel documentation to demonstrate that it is in fact possible to make efficient, in-place updates of a map instead of replacing a map in its entirety.