diff --git a/lib/matplotlib/backends/backend_wx.py b/lib/matplotlib/backends/backend_wx.py index c8048bc3c27a..ae9e9e8d5a4f 100644 --- a/lib/matplotlib/backends/backend_wx.py +++ b/lib/matplotlib/backends/backend_wx.py @@ -352,7 +352,7 @@ def draw_image(self, gc, x, y, im): bitmap = wx.BitmapFromBufferRGBA(cols,rows,image_array) gc = self.get_gc() gc.select() - gc.gfx_ctx.DrawBitmap(bitmap,int(l),int(b),int(w),int(h)) + gc.gfx_ctx.DrawBitmap(bitmap,int(l),int(self.height-b),int(w),int(-h)) gc.unselect() def draw_text(self, gc, x, y, s, prop, angle, ismath):