Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: John Hunter <jdhunter@ac...> - 2005-11-30 21:35:49
|
>>>>> "Charlie" == Charlie Moad <cwmoad@...> writes: Charlie> simple pylab script: a = axes() a.set_xticklabels(['a', Charlie> 'b', 'c']) show() Charlie> When I move the mouse around the axes I get this error Charlie> from the callback: Charlie> ....... Charlie> /usr/local/lib/python2.4/site-packages/matplotlib/ticker.py Charlie> in __call__(self, x, pos) 176 'Return the format for tick Charlie> val x at position pos' 177 if pos>=len(self.seq): return Charlie> '' --> 178 else: return self.seq[pos] Charlie> 179 180 class FuncFormatter(Formatter): Charlie> TypeError: list indices must be integers Charlie> "pos" is None Did someone fix this? I can't replicate it. JDH |