diff --git a/graphicsItems/PlotItem/PlotItem.py b/graphicsItems/PlotItem/PlotItem.py index ebc21c34..3028de7f 100644 --- a/graphicsItems/PlotItem/PlotItem.py +++ b/graphicsItems/PlotItem/PlotItem.py @@ -776,8 +776,7 @@ class PlotItem(GraphicsWidget): def addCurve(self, c, params=None): print "PlotItem.addCurve is deprecated. Use addItem instead." - self.addItem(item, params) - + self.addItem(c, params) def removeItem(self, item): """