fix __getattr__ handling in PlotWindow
This commit is contained in:
parent
4867149d83
commit
52754d4859
@ -76,7 +76,7 @@ class PlotWidget(GraphicsView):
|
||||
m = getattr(self.plotItem, attr)
|
||||
if hasattr(m, '__call__'):
|
||||
return m
|
||||
raise NameError(attr)
|
||||
raise AttributeError(attr)
|
||||
|
||||
def viewRangeChanged(self, view, range):
|
||||
#self.emit(QtCore.SIGNAL('viewChanged'), *args)
|
||||
|
Loading…
Reference in New Issue
Block a user