[Matplotlib-users] HiLo colormap

Juan Nunez-Iglesias jni.soma at gmail.com
Mon Jun 4 21:58:00 EDT 2018

On Tue, Jun 5, 2018, at 11:53 AM, Thomas Caswell wrote:
> You are going to have a related  issue with the color map.  It is
> going to take the top/bottom 1/Nth of the range to be marked as
> over/under which may be _more_ that you want to grab.  I also think it
> will grab asymmetrical ranges for log scales.
Ah. Yes this is totally terrible. Very good point. =) So colormaps are
segmented to e.g. 256 by default, rather than all the input values?
> For the API I am thinking something like
> `im = ax.imshow(..., over_color='r', under_color='b')`
> so that you can control that aspect of the color map from the
> user API.
That's not too bad I guess. =)

So, to rephrase your position: a PR to the examples gallery would be
welcome? =P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180605/a10c9ca4/attachment-0001.html>

More information about the Matplotlib-users mailing list