Skip to content

FIX: prevent the canvas from jump sizes due to DPI changes #9131

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

Merged
merged 1 commit into from
Apr 24, 2018

Conversation

tacaswell
Copy link
Member

closes #8736 thanks to @rayosborn

Simplify how we account for the extra padding due to the toolbar (just ask the window how much it currently has and use that!)

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Aug 31, 2017
@tacaswell tacaswell modified the milestones: 2.1.1 (next bug fix release), 2.1 (next point release) Aug 31, 2017
@tacaswell
Copy link
Member Author

This does not seem to prevent screen flickering due to the dpi change.

@tacaswell tacaswell modified the milestones: 2.1.1 (next bug fix release), 2.2 (next feature release) Oct 9, 2017
Copy link
Contributor

@anntzer anntzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't fix the original issue but still seems a reasonable improvement.

@jklymak jklymak merged commit 506520f into matplotlib:master Apr 24, 2018
@jklymak jklymak modified the milestones: needs sorting, v3.0 Apr 24, 2018
@tacaswell tacaswell deleted the fix_qt_resizing branch April 24, 2018 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Figure resize when saving a plot
5 participants