8000 Qt5Agg backend not rendering nicely on Windows HiDPI display · Issue #7813 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Qt5Agg backend not rendering nicely on Windows HiDPI display #7813
Closed
@rgbrown

Description

@rgbrown

To help us understand and resolve your issue, please fill out the form to the best of your ability. You can feel free to delete the sections that do not apply.

Bug report

Bug summary

Figures rendered on my Surface Pro 3 are very blurry. It looks like the figures are scaled to compensate for my device's DPI scaling (natively 1.5x). This hadn't been the case up until recently. Disabling DPI awareness from Windows doesn't help. Using Anaconda 4.2

Code for reproduction

import matplotlib
matplotlib.use('Qt5Agg')

import matplotlib.pyplot as plt
from numpy import linspace, sin

x = linspace(0, 10, 1000)
plt.plot(x, sin(x))
plt.show()
#

Actual outcome
capture

Expected outcome

Until recently I would just get small (no attempt to compensate for HiDPI) figures without any blur, I'm not sure what has triggered the change.

Matplotlib version
Matplotlib 1.5.3
Python 3.5.2
Anaconda 4.2.0
on Windows 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0