|
From: Michael O. <mou...@de...> - 2008-10-07 15:17:31
|
I was wondering if it is possible to change the colorbar tick labeling in matplotlib from numeric to text. Essentially, I want the colorbar to be a qualitative indicator; in the jet scheme, I'd like blue to be labeled as 'unstable', green as 'neutral', and red as 'stable'. I can change it so I just show the underlying values - colorbar(ticks = (-1, 0, 1)), but I cannot change the the tick labels to text. Is there any way to accomplish this? Thanks in advance for any help. |