We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ebb071 commit 8c2ca35Copy full SHA for 8c2ca35
src/mplcairo/wx.py
@@ -28,6 +28,7 @@ def draw(self, drawDC=None):
28
self.get_renderer()._get_buffer())
29
height, width, _ = buf.shape
30
self.bitmap = wx.Bitmap.FromBufferRGBA(width, height, buf)
31
+ self.bitmap.SetScaleFactor(self.GetDPIScaleFactor())
32
self._isDrawn = True
33
self.gui_repaint(drawDC=drawDC)
34
0 commit comments