Drop commented pixmap cruft

See #124 as to why we'll probably never need this.
to_qpainterpath_and_beyond
Tyler Goodlet 2020-11-24 14:48:52 -05:00
parent f083f537b1
commit 949e9d6cd1
1 changed files with 0 additions and 8 deletions

View File

@ -481,7 +481,6 @@ class BarItems(pg.GraphicsObject):
self.last_bar = QtGui.QPicture() self.last_bar = QtGui.QPicture()
self.history = QtGui.QPicture() self.history = QtGui.QPicture()
# TODO: implement updateable pixmap solution
self._pi = plotitem self._pi = plotitem
# XXX: not sure this actually needs to be an array other # 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.setPen(self.bars_pen)
p.drawPath(self.path) 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 # @timeit
def boundingRect(self): def boundingRect(self):
# TODO: can we do rect caching to make this faster # TODO: can we do rect caching to make this faster