-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Improper scaling on low-res display when a hi-res display is also present on the system #9062
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
Comments
Can you include some screenshots? I do not really understand the issue (and do not have a mac to test on). |
@burnpanck Can you try with current master? |
attn @astrofrog can you reproduce this? |
Will check this out when I have my Macbook to hand |
I'm traveling but will try and test this in a few days |
Hmm, I don't think I'm seeing this on the latest master branch. All I'm doing is import matplotlib
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.scatter(1, 1)
plt.show() and then moving between a retina and low-res screen, and everything seems to scale nicely. Let me know if there's other code I could try out. |
I see, I'll therefore give it a shot with latest master too! Sorry for not doing that right away. |
@burnpanck - are you still seeing this issue with Matplotlib 2.2? (it should be fixed) |
No, I don't see the issue anymore either. I'll close the issue therefore. Thanks for all the good work! |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug summary
This is a follow up on #8061, which was closed in #8931. That PR resolves updating the figure bounds when the figure is moved between displays with different resolutions. However, the issue persists that figures on the low-res display have way too large line widths and text sizes when a retina screen is present.
Matplotlib version
Screen shots
The following two screenshots are taken from the same window, after moving it on either of my two screens.
On the MacBook Pro's retina screen:

On the additional 2k 27in screen:

[TAC edited to fix xref]
The text was updated successfully, but these errors were encountered: