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)
|
m = getattr(self.mPlotItem, attr)
|
||||||
if hasattr(m, '__call__'):
|
if hasattr(m, '__call__'):
|
||||||
return m
|
return m
|
||||||
raise NameError(attr)
|
raise AttributeError(attr)
|
||||||
|
|
||||||
def widgetGroupInterface(self):
|
def widgetGroupInterface(self):
|
||||||
return (None, MultiPlotWidget.saveState, MultiPlotWidget.restoreState)
|
return (None, MultiPlotWidget.saveState, MultiPlotWidget.restoreState)
|
||||||
|
Loading…
Reference in New Issue
Block a user