[Matplotlib-devel] Gasoline Rainbow: a modernized prism colormap

Thomas Caswell tcaswell at gmail.com
Fri Mar 6 08:58:08 EST 2020


I agree with Hannah, the proposed color map is interesting, but I think it
would be better as it's own stand alone package or folded into one of
{colorcet, contrib_colormaps, cmasher}.

Tom

On Thu, Mar 5, 2020 at 11:49 PM Michael Waters <waters.mike.j at gmail.com>
wrote:

> Hi all,
>
> I don't know if anyone other than Isaac Gerg is interested, but
> gasoline_rainbow has about 5.3x the total contrast of viridis. I understand
> there are some aesthetic issues with the colormap, but as an upgrade for
> prism, I don't think it's too bad.
>
> Cheers,
>
> -Mike
> On 3/4/20 3:12 PM, Isaac Gerg wrote:
>
> sorry, I didnt mean monotonic luminance but repeating colors. I think the
> colormap is useful as it stands.
>
> Isaac
>
> On Wed, Mar 4, 2020 at 4:03 PM Michael J. Waters <waters.mike.j at gmail.com>
> wrote:
>
>> Hi Greg,
>>
>> I think having monotonic luminance is good because the viewer still gets
>> information on the overall position in the data set, not just local
>> contrast (like with prism).  If there is sufficient interest, I could try
>> constructing a new version that forgoes linear luminance for monotonic
>> luminance but still is perceptually uniform.
>>
>> -Mike
>>
>>
>> On 3/4/20 2:25 PM, Isaac Gerg wrote:
>>
>> I think its a good colormap for exploratory analysis.  I would include it
>> in the baseline.
>>
>> Lots of people bag on jet or rainbow but for exploratory analysis where
>> you have data of a large dynamic range, linear luminance is not something
>> you want.  I think this would be a good substitute.
>>
>> On Tue, Mar 3, 2020 at 1:32 PM Michael J. Waters <waters.mike.j at gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> I have developed a colormap, gasoline_rainbow, with high local contrast
>>> that is also perceptually uniform and linear luminant. It fulfills a
>>> similar role as prism but has some non-local contrast due to it's linear
>>> luminance.
>>>
>>> You can see it here:
>>> https://gitlab.com/mjwaters/gasoline-rainbow-colormap/-/tree/master
>>>
>>> Is there any interest in including this map in MPL?  I think it could
>>> fill a role missing from the default options.
>>>
>>> Cheers,
>>>
>>> -Mike
>>>
>>> _______________________________________________
>>> Matplotlib-devel mailing list
>>> Matplotlib-devel at python.org
>>> https://mail.python.org/mailman/listinfo/matplotlib-devel
>>>
>> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-devel
>


-- 
Thomas Caswell
tcaswell at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20200306/8ac026bd/attachment.html>


More information about the Matplotlib-devel mailing list