Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 60dec25

Browse files
committed
Merge branch 'v1.0.x'
2 parents 39de1e5 + fb78581 commit 60dec25

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@ Thumbs.db
4040
###################################
4141
lib/matplotlib/mpl-data/matplotlib.conf
4242
lib/matplotlib/mpl-data/matplotlibrc
43+
44+
# Documentation generated files #
45+
#################################
46+
doc/examples
47+
doc/_templates/gallery.html
48+
doc/_static/matplotlibrc

lib/matplotlib/backends/backend_wx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def draw_image(self, gc, x, y, im):
352352
bitmap = wx.BitmapFromBufferRGBA(cols,rows,image_array)
353353
gc = self.get_gc()
354354
gc.select()
355-
gc.gfx_ctx.DrawBitmap(bitmap,int(l),int(b),int(w),int(h))
355+
gc.gfx_ctx.DrawBitmap(bitmap,int(l),int(self.height-b),int(w),int(-h))
356356
gc.unselect()
357357

358358
def draw_text(self, gc, x, y, s, prop, angle, ismath):

0 commit comments

Comments
 (0)