From 949e9d6cd111aab4d878fd2c27a4b145794f9d7d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 24 Nov 2020 14:48:52 -0500 Subject: [PATCH] Drop commented pixmap cruft See #124 as to why we'll probably never need this. --- piker/ui/_graphics.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/piker/ui/_graphics.py b/piker/ui/_graphics.py index b70c6641..8ea108ce 100644 --- a/piker/ui/_graphics.py +++ b/piker/ui/_graphics.py @@ -481,7 +481,6 @@ class BarItems(pg.GraphicsObject): self.last_bar = QtGui.QPicture() self.history = QtGui.QPicture() - # TODO: implement updateable pixmap solution self._pi = plotitem # XXX: not sure this actually needs to be an array other @@ -649,13 +648,6 @@ class BarItems(pg.GraphicsObject): p.setPen(self.bars_pen) p.drawPath(self.path) - # TODO: if we can ever make pixmaps work... - # p.drawPixmap(0, 0, self.picture) - # self._pmi.setPixmap(self.picture) - # print(self.scene()) - - # profiler('bars redraw:') - # @timeit def boundingRect(self): # TODO: can we do rect caching to make this faster