Closed
Description
Summary
set_size_inches currently uses
matplotlib/lib/matplotlib/figure.py
Line 2659 in eecdbbc
I haven't actually tried, but I wonder if that was missed in #19126, and should be changed to
canvas.device_pixel_ratio
?
(Likewise, backend_macosx.py would likely need to be updated in the same manner?)
Proposed fix
No response
Activity
QuLogic commentedon Sep 28, 2021
It does appear to be wrong. The figure is double-sized for what was requested, if you pull it from a hidpi back to regular screen.
Fix set_size_inches on HiDPI screens
Fix set_size_inches on HiDPI screens
Fix set_size_inches on HiDPI screens
Fix set_size_inches on HiDPI screens
Fix set_size_inches on HiDPI screens
Fix set_size_inches on HiDPI screens
Fix set_size_inches on HiDPI screens
Fix set_size_inches on HiDPI screens