Fix MultiPlotWidget wrapping methods incorrectly.
This commit is contained in:
parent
21639196d8
commit
d4364ea17a
@ -25,7 +25,7 @@ class MultiPlotWidget(GraphicsView):
|
||||
m = getattr(self.mPlotItem, attr)
|
||||
if hasattr(m, '__call__'):
|
||||
return m
|
||||
raise NameError(attr)
|
||||
raise AttributeError(attr)
|
||||
|
||||
def widgetGroupInterface(self):
|
||||
return (None, MultiPlotWidget.saveState, MultiPlotWidget.restoreState)
|
||||
|
Loading…
Reference in New Issue
Block a user