Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Description
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:
Plot using the WXCairo backend (embed inside WX.Panel) renders ugly:
As you can see, the embedded plot is rendered ugly (zoom in):
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?