Hi,
I'm trying to plot a horizontal colorbar with labels on top. I can use
axcbar = fig.add_axes([0.2, 0.85, 0.6, 0.03])
axcbar.xaxis.set_ticks_position('top')
cbar = fig.colorbar(s, cax=axcbar, orientation='horizontal')
but then I lose the ticks on the bottom of the colorbar. However,
setting
axcbar.xaxis.set_ticks_position('both')
causes the labels to be on the bottom. Is there a way to have labels
on the top while keeping ticks on both the top and bottom?
Thanks,
Thomas
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users