Documentation error:
http://docs.enthought.com/chaco/user_manual/tutorial_1.html#a-slight-modification
Verbatim copy/paste in Canopy Editor results in:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
181 else:
182 filename = fname
--> 183 __builtin__.execfile(filename, *where)
.../tutorial1_5.py in ()
21 self.plot = plot
22 if __name__ == "__main__":
---> 23 OverlappingPlot().configure_traits()
.../tutorial1_5.py in __init__(self)
11 width=500, height=500, resizable=True, title="Chaco Plot")
12 def __init__(self):
---> 13 super(OverlappingPlot).__init__()
14 x = linspace(-14, 14, 100)
15 y = x/2 * sin(x)
TypeError: super() takes at least 1 argument (0 given)
Canopy 1.1.0-osx-64 on OSX 10.7.5.
Documentation error:
http://docs.enthought.com/chaco/user_manual/tutorial_1.html#a-slight-modification
Verbatim copy/paste in Canopy Editor results in:
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) /Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/IPython/utils/py3compat.pyc in execfile(fname, *where) 181 else: 182 filename = fname --> 183 __builtin__.execfile(filename, *where) .../tutorial1_5.py in () 21 self.plot = plot 22 if __name__ == "__main__": ---> 23 OverlappingPlot().configure_traits() .../tutorial1_5.py in __init__(self) 11 width=500, height=500, resizable=True, title="Chaco Plot") 12 def __init__(self): ---> 13 super(OverlappingPlot).__init__() 14 x = linspace(-14, 14, 100) 15 y = x/2 * sin(x) TypeError: super() takes at least 1 argument (0 given)Canopy 1.1.0-osx-64 on OSX 10.7.5.