Commit d8624f56 authored by Ingo Breßler's avatar Ingo Breßler
Browse files

PlotItem.addCurve: fixed typo

parent 44f2a0ec
......@@ -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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment