Hi,
thanks for the suggestion.
> ax.set_xticks((-pi,pi))
> ax.set_xticklabels(('$-\pi$','$\pi$'))
I guess color bars are a little special in the sense that
AttributeError: Colorbar instance has no attribute 'set_yticklabels'
The tick positions are given not by set_yticks either, but as an option
pylab.colorbar(ticks=(-pi,0,pi))
at the instatiation of the bar. It would indeed be very handy if the
bars acted like axes.
Cheers,
Nico
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users