From ff384b80d7bd6d0385eabc7acdb93c33b57011b0 Mon Sep 17 00:00:00 2001 From: Luke Campagnola <> Date: Tue, 15 May 2012 13:38:32 -0400 Subject: [PATCH] Accidentally left in drawn bounding rect for scatterplotitem --- graphicsItems/ScatterPlotItem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphicsItems/ScatterPlotItem.py b/graphicsItems/ScatterPlotItem.py index 4b0bb6dc..4a468b97 100644 --- a/graphicsItems/ScatterPlotItem.py +++ b/graphicsItems/ScatterPlotItem.py @@ -78,7 +78,7 @@ class ScatterPlotItem(GraphicsObject): """ prof = debug.Profiler('ScatterPlotItem.__init__', disabled=True) GraphicsObject.__init__(self) - #self.setFlag(self.ItemHasNoContents, True) + self.setFlag(self.ItemHasNoContents, True) self.data = np.empty(0, dtype=[('x', float), ('y', float), ('size', float), ('symbol', 'S1'), ('pen', object), ('brush', object), ('item', object), ('data', object)]) self.bounds = [None, None] ## caches data bounds self._maxSpotWidth = 0 ## maximum size of the scale-variant portion of all spots