-
Notifications
You must be signed in to change notification settings - Fork 96
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
Test more backends and handle resizing for interactive backends #62
Labels
Milestone
Comments
lukelbd
changed the title
Test more backends and lock window resizing for popup / interactive inline backends
Test more backends and handle resizing for popup / interactive inline backends
Nov 6, 2019
lukelbd
changed the title
Test more backends and handle resizing for popup / interactive inline backends
Test more backends and handle resizing for interactive backends
Nov 6, 2019
This needs to be higher priority. It's currently causing bugs when |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When either of the width or height dimensions are not passed to the figure, the proplot tight layout algorithm resizes the figure. This means whenever the figure has to be "re-drawn", as with expanding a popup window, the algorithm will try to snap the window back to match the old figure size, resulting in weird/jumpy behavior.
Had two ideas to fix this.
set_size_inches
update the underlyinggeometry_configurator
settings (see Replace "panels" with EdgeStack, permit working directly with add_subplot/GridSpec #50) so that "width" and "height" are both fixed, and also make theaxwidth
,axheight
, andaspect
settings modifiable (also renameaspect
toaxaspect
?). Internal calls toset_size_inches
can pass a keyword arg likelock=False
that prevents updating geometry settings.Leaning towards 2. Also, while I'm at it, I can also do a more rigorous test of how automatic figure resizing interacts with the various backends.
The text was updated successfully, but these errors were encountered: