Hi,
I have now a problem when using setp, please try this (maybe it is wrong, but it worked before...).
Thanks for any help here
Eric
···
---------------------------------------------------------------------------
scatter([0,1],[0,1]) xticklabels = get(gca(), 'xticklabels')
setp(xticklabels, fontsize='large')
---------------------------------------------------------------------------
exceptions.TypeError Traceback (most recent call last)
/home/science/Sauron/AnalysisKin/Paper7/<ipython console>
/usr/lib/python2.4/site-packages/matplotlib/pylab.py in setp(*args, **kwargs)
1444
1445 def setp(*args, **kwargs):
-> 1446 ret = _setp(*args, **kwargs)
1447 draw_if_interactive()
1448 return ret
/usr/lib/python2.4/site-packages/matplotlib/artist.py in setp(h, *args, **kwargs)
488
489 ret = []
--> 490 for o in h:
491 for s, val in funcvals:
492 s = s.lower()
/usr/lib/python2.4/site-packages/matplotlib/cbook.py in flatten(seq, scalarp)
96 if scalarp(item): yield item
97 else:
---> 98 for subitem in flatten(item, scalarp):
99 yield subitem
100
/usr/lib/python2.4/site-packages/matplotlib/cbook.py in flatten(seq, scalarp)
93 and Recipe 1.12 in cookbook
94 """
---> 95 for item in seq:
96 if scalarp(item): yield item
97 else:
TypeError: iteration over non-sequence