diff --git a/piker/ui/_curve.py b/piker/ui/_curve.py index da2e6d23..2aeb60cf 100644 --- a/piker/ui/_curve.py +++ b/piker/ui/_curve.py @@ -376,7 +376,6 @@ class FastAppendCurve(pg.PlotCurveItem): self.xData = None ## raw values self.yData = None self._renderSegmentList = None - # self.path = None self.fillPath = None self._fillPathList = None self._mouseShape = None @@ -389,6 +388,10 @@ class FastAppendCurve(pg.PlotCurveItem): self.path.clear() self._redraw = True + # XXX: if not trying to leverage `.reserve()` allocs + # then you might as well create a new one.. + # self.path = None + def disable_cache(self) -> None: ''' Disable the use of the pixel coordinate cache and trigger a geo event.