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

Skip to content

Commit 50fc548

Browse files
committed
improve blitting with the qt4 backend
svn path=/trunk/matplotlib/; revision=7995
1 parent a2a7fa1 commit 50fc548

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2009-12-01 Applied Laurent Dufrechou's patch to improve blitting with
2+
the qt4 backend - DSD
3+
14
2009-11-13 The pdf backend now allows changing the contents of
25
a pdf file's information dictionary via PdfPages.infodict. - JKS
36

lib/matplotlib/backends/backend_qt4agg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def blit(self, bbox=None):
138138
self.replot = bbox
139139
l, b, w, h = bbox.bounds
140140
t = b + h
141-
self.update(l, self.renderer.height-t, w, h)
141+
self.repaint(l, self.renderer.height-t, w, h)
142142

143143
def print_figure(self, *args, **kwargs):
144144
FigureCanvasAgg.print_figure(self, *args, **kwargs)

0 commit comments

Comments
 (0)