|
From: Anthony M. F. <Ant...@co...> - 2007-08-16 17:19:52
|
Hi!=20 > 0x9c5a8ac>] >>> set(gca(), xticklabels=3D[]) Traceback (most=20 > recent call last): > File "<stdin>", line 1, in <module> > TypeError: set() does not take keyword arguments >=20 > Can somebody help me understand what goes wrong here? Python (since the docs were written) now has a built-in type called 'set'. This caused a namespace conflict with pylab's "set" command, so the pylab "set" command became "setp" for "set property". So, change the line to: >>> setp(gca(), xticklabels=3D[]) Cheers, A> |