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

Skip to content

Commit f7fae52

Browse files
committed
Remove duplicate line caused by myself and Darren committing the same
patch and virtually the same time. svn path=/trunk/matplotlib/; revision=4181
1 parent 51d1a84 commit f7fae52

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/matplotlib/backends/backend_qt4agg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def paintEvent( self, e ):
114114
reg = self.copy_from_bbox(bbox)
115115
stringBuffer = reg.to_string()
116116
qImage = QtGui.QImage(stringBuffer, w, h, QtGui.QImage.Format_ARGB32)
117-
p = QtGui.QPainter(self)
118117
pixmap = QtGui.QPixmap.fromImage(qImage)
119118
p = QtGui.QPainter( self )
120119
p.drawPixmap(QtCore.QPoint(l, self.renderer.height-t), pixmap)

0 commit comments

Comments
 (0)