Hi,
I'm trying to do a pcolor plot with a log normalised colour scale.
Following advice from past posts
to this list I specialised the matplotlib.colors.normalize class, and
passed an instance of that to
pcolor using the norm kwarg.
This works fine :-)
But when I add a colorbar it goes wrong. T
JIM MacDonald wrote:
> Hi,
>
> I'm trying to do a pcolor plot with a log normalised colour scale.
> Following advice from past posts
> to this list I specialised the matplotlib.colors.normalize class, and
> passed an instance of that to
> pcolor using the norm kwarg.
>
> This works fine :-)
>
>
Hi Eric,
Thanks for your reply. It made me realise a few things
> But when I add a colorbar it goes wrong. The colorbar is labelled with
> the log of the values, rather
> than values, and the colour only fills the top third of the colorbar.
In the absence of additional kwargs, colorbar uses