Skip to content

Commit

Permalink
Fixed remaining drawPixmap call
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Oct 30, 2023
1 parent 5467f73 commit 0396feb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Version 0.11.1 (work in progress)

- ...
- Fixed remaining `QwtPainter.drawPixmap` call

## Version 0.11.0

Expand Down
2 changes: 1 addition & 1 deletion qwt/painter.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def drawColorBar(self, painter, colorMap, interval, scaleMap, orientation, rect)
pmPainter.setPen(c)
pmPainter.drawLine(QLineF(devRect.left(), y, devRect.right(), y))
pmPainter.end()
self.drawPixmap(painter, devRect, pixmap)
painter.drawPixmap(devRect, pixmap)

def fillPixmap(self, widget, pixmap, offset=None):
"""
Expand Down

0 comments on commit 0396feb

Please sign in to comment.