I'm seeing problems with reversed colormaps (attached code and image).
The problem seems to be with colormaps that are specified functionally
or that don't have equal numbers of red, green, and blue entries. For
instance, 'flag', 'rainbow', and 'gist_earth'.
Furthermore, 'gist_rainbow_r' and 'terrain_r' don't plot at all with
the attached code.
I presume this is a regression from earlier behavior, since quite a
few colormaps are affected. svn shows some cleanup to the colormap
code this summer. Can someone with more familiarity with that code
point to the problem?
Thanks,
Eric
reverse_cmap_regression.py (597 Bytes)
Eric Bruning wrote:
I'm seeing problems with reversed colormaps (attached code and image).
The problem seems to be with colormaps that are specified functionally
or that don't have equal numbers of red, green, and blue entries. For
instance, 'flag', 'rainbow', and 'gist_earth'.
Furthermore, 'gist_rainbow_r' and 'terrain_r' don't plot at all with
the attached code.
I presume this is a regression from earlier behavior, since quite a
few colormaps are affected. svn shows some cleanup to the colormap
code this summer. Can someone with more familiarity with that code
point to the problem?
I'll take care of it. Thanks for the bug report.
Eric
···
Thanks,
Eric