From d4364ea17af93bde3dcfbd858fb5215517296388 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Sat, 25 Jan 2014 07:37:04 -0500 Subject: [PATCH] Fix MultiPlotWidget wrapping methods incorrectly. --- pyqtgraph/widgets/MultiPlotWidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqtgraph/widgets/MultiPlotWidget.py b/pyqtgraph/widgets/MultiPlotWidget.py index 58b71296..a5ae9b3e 100644 --- a/pyqtgraph/widgets/MultiPlotWidget.py +++ b/pyqtgraph/widgets/MultiPlotWidget.py @@ -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)