Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WXCairo backend not rendering nicely on retina #18050

Open
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGUI: wxGood first issueOpen a pull request against these issues if there are no active ones!OS: Apple
@eliclement

Description

@eliclement

When embedding a matplotlib plot in a WX.Panel, the figure_canvas is not rendered nicely on a Mac retina display. Increasing the dpi of the figure does not help (it only alters the figure size).

Matplotlib version: 3.3.0
Python version: 3.7.7
Platform: OSX (macOS Catalina 10.15.5)

Plot using standard macosx backend (no embedding) renders nicely:
Screen Shot 2020-07-24 at 4 58 51 PM

Plot using the WXCairo backend (embed inside WX.Panel) renders ugly:
Screen Shot 2020-07-24 at 5 01 31 PM

As you can see, the embedded plot is rendered ugly (zoom in):
Screen Shot 2020-07-24 at 5 04 14 PM

Is this the same issue as when using the Agg backend, where Apple by default scales all the applications by drawing each pixel in the underlying application as a 2x2 grid on the screen?
I planned to change my application to use the Cairo mpl bakcend instead of Agg mpl backend, but the problem remains...
Any ideas or workarounds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGUI: wxGood first issueOpen a pull request against these issues if there are no active ones!OS: Apple

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp