|
From: Thomas R. <tho...@gm...> - 2009-10-21 15:25:00
|
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
|