Hi everybody, I'm trying to run contour_demo.pp example but I'm having this error. Anybody can help?
Thanks, X Error: BadDevice, invalid or uninitialized input device 166 Major opcode: 144 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 166 Major opcode: 144 Minor opcode: 3 Resource id: 0x0 Failed to open device [-0.8666166 ,-0.49865195,-0.13068729, 0.23727736, 0.60524202, 0.97320667, 1.34117133,] type: <type 'array'> ['__copy__', '__deepcopy__', 'astype', 'byteswapped', 'copy', 'iscontiguous', 'itemsize', 'resize', 'savespace', 'spacesaver', 'tolist', 'toscalar', 'tostring', 'typecode'] * * * * * * * * * * <a list of 7 LineCollection objects> type: <class 'matplotlib.cbook.silent_list'> ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__delslice__', '__dict__', '__doc__', '__eq__', '__ge__', '__getattribute__', '__getitem__', '__getslice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__module__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__setslice__', '__str__', '__weakref__', 'append', 'count', 'extend', 'index', 'insert', 'mappable', 'pop', 'remove', 'reverse', 'sort', 'type'] * * * * * * * * * * Traceback (most recent call last): File "./contour_demo.py", line 30, in ? clabel(CS, inline=1, fontsize=10) File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 1731, in clabel ret = gca().clabel(*args, **kwargs) File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 1241, in clabel return self._contourLabeler.clabel(*args, **kwargs) File "/usr/lib/python2.4/site-packages/matplotlib/contour.py", line 150, in clabel levels = [con._label for con in contours] AttributeError: _label X Error: BadDevice, invalid or uninitialized input device 166 Major opcode: 144 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 166 Major opcode: 144 Minor opcode: 3 Resource id: 0x0 Failed to open device [-0.8666166 ,-0.49865195,-0.13068729, 0.23727736, 0.60524202, 0.97320667, 1.34117133,] type: <type 'array'> ['__copy__', '__deepcopy__', 'astype', 'byteswapped', 'copy', 'iscontiguous', 'itemsize', 'resize', 'savespace', 'spacesaver', 'tolist', 'toscalar', 'tostring', 'typecode'] * * * * * * * * * * <a list of 7 LineCollection objects> type: <class 'matplotlib.cbook.silent_list'> ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__delslice__', '__dict__', '__doc__', '__eq__', '__ge__', '__getattribute__', '__getitem__', '__getslice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__module__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__setslice__', '__str__', '__weakref__', 'append', 'count', 'extend', 'index', 'insert', 'mappable', 'pop', 'remove', 'reverse', 'sort', 'type'] * * * * * * * * * * Traceback (most recent call last): File "./contour_demo.py", line 30, in ? clabel(CS, inline=1, fontsize=10) File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 1731, in clabel ret = gca().clabel(*args, **kwargs) File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 1241, in clabel return self._contourLabeler.clabel(*args, **kwargs) File "/usr/lib/python2.4/site-packages/matplotlib/contour.py", line 150, in clabel levels = [con._label for con in contours] AttributeError: _label _________________________________________________________________ It's Hotmail's 10th Birthday! Come and play Pass the Parcel http://www.msnpasstheparcel.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users