Remove outdated comments
This commit is contained in:
parent
b421cc2790
commit
42d96d0c21
@ -356,14 +356,6 @@ class PlotItem(GraphicsWidget):
|
||||
v = np.clip(alpha, 0, 1)*self.ctrl.gridAlphaSlider.maximum()
|
||||
self.ctrl.gridAlphaSlider.setValue(v)
|
||||
|
||||
#def paint(self, *args):
|
||||
#prof = debug.Profiler()
|
||||
#QtGui.QGraphicsWidget.paint(self, *args)
|
||||
|
||||
## bad idea.
|
||||
#def __getattr__(self, attr): ## wrap ms
|
||||
#return getattr(self.vb, attr)
|
||||
|
||||
def close(self):
|
||||
#print "delete", self
|
||||
## Most of this crap is needed to avoid PySide trouble.
|
||||
|
@ -34,14 +34,3 @@ def test_getViewWidget_deleted():
|
||||
|
||||
assert not pg.Qt.isQObjectAlive(view)
|
||||
assert item.getViewWidget() is None
|
||||
|
||||
|
||||
#if __name__ == '__main__':
|
||||
#view = pg.PlotItem()
|
||||
#vref = weakref.ref(view)
|
||||
#item = pg.InfiniteLine()
|
||||
#view.addItem(item)
|
||||
#del view
|
||||
#gc.collect()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user