From d8624f565b4247924ce7d7f8e50095e364c4edfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Bre=C3=9Fler?= Date: Mon, 16 Apr 2012 23:15:25 +0200 Subject: [PATCH] PlotItem.addCurve: fixed typo --- graphicsItems/PlotItem/PlotItem.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/graphicsItems/PlotItem/PlotItem.py b/graphicsItems/PlotItem/PlotItem.py index f1bd6313..1513be77 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): if not item in self.items: