Skip to content

Commit 0396feb

Browse files
committed
Fixed remaining drawPixmap call
1 parent 5467f73 commit 0396feb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Version 0.11.1 (work in progress)
44

5-
- ...
5+
- Fixed remaining `QwtPainter.drawPixmap` call
66

77
## Version 0.11.0
88

qwt/painter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def drawColorBar(self, painter, colorMap, interval, scaleMap, orientation, rect)
344344
pmPainter.setPen(c)
345345
pmPainter.drawLine(QLineF(devRect.left(), y, devRect.right(), y))
346346
pmPainter.end()
347-
self.drawPixmap(painter, devRect, pixmap)
347+
painter.drawPixmap(devRect, pixmap)
348348

349349
def fillPixmap(self, widget, pixmap, offset=None):
350350
"""

0 commit comments

Comments
 (0)