Improve resolution of canvas on HiDPI with PyQt5 backend · Issue #4977 · matplotlib/matplotlib · GitHub
Skip to content

Improve resolution of canvas on HiDPI with PyQt5 backend #4977

Description

@astrofrog

One of the nice things about Qt5 (as far as I understand) is that it provides better support for HiDPI (retina) displays, but at the moment it doesn't look like Matplotlib is taking advantage of this:

PyQt4:

pyqt4

PyQt5:

pyqt5

MacOS X:

Note that MacOS X does take advantage of the HiDPI display, though the icons are still low-res

osx

Interestingly, the low resolution pixels in the PyQt5 example look crisper which suggests that it might be rendered at HiDPI but the content of the canvas is low resolution.

So just to clarify, I think there are two issues here:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions