Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread Nathaniel Smith
On Mon, Feb 23, 2015 at 10:46 AM, Eric Firing  wrote:
> On 2015/02/18 2:39 PM, Nathaniel Smith wrote:
>>
>> On Feb 16, 2015 3:39 PM, "Eric Firing"  wrote:
>>>
>>>
>>> On 2015/02/16 1:29 PM, Michael Waskom wrote:
>>>
 Nathaniel's January 9 message in that thread (can't figure out how to
 link to it in the archives) had a suggestion that I thought was very
 promising, to do something similar to Parula but rotate around the hue
 circle the other direction so that the hues would go blue - purple - red
 - yellow. I don't think we've seen an example of exactly what it would
 look like, but I reckon it would be similar to the middle colormap here

 http://earthobservatory.nasa.gov/blogs/elegantfigures/files/2013/08/three_perceptual_palettes_618.png
 (from the elegant figures block series linked above), which I've always
 found quite attractive.
>>>
>>>
>>> Certainly it can be considered--but we have to have a real
>>> implementation.
>>
>>
>> While I hate to promise vaporware, I actually was planning to have a
>> go at implementing such a colormap in the next few weeks, based on
>> optimizing the same set of parameters that viscm visualizes... FWIW.
>
>
> It might be worth quite a bit--and the sooner, the better.

While it's taking longer than hoped, just to reassure you that this
isn't total vaporware, here's a screenshot from the colormap designer
that Stéfan van der Walt and I have been working on... still needs
fine-tuning (which at this point probably won't happen until after I
get back from PyCon), but we like what we're seeing so far :-)

The colormap shown has, by construction, perfect lightness linearity
and perfect perceptual uniformity, according to the better-than-CIELAB
model used by the viscm tool I linked upthread.

-- 
Nathaniel J. Smith -- http://vorpus.org
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread Eric Firing
On 2015/04/04 9:20 PM, Nathaniel Smith wrote:

> While it's taking longer than hoped, just to reassure you that this
> isn't total vaporware, here's a screenshot from the colormap designer
> that Stéfan van der Walt and I have been working on... still needs
> fine-tuning (which at this point probably won't happen until after I
> get back from PyCon), but we like what we're seeing so far :-)
>
> The colormap shown has, by construction, perfect lightness linearity
> and perfect perceptual uniformity, according to the better-than-CIELAB
> model used by the viscm tool I linked upthread.
>

Thanks for the update, and the progress.  The example colormap looks 
promising as a viable alternative.  It appears to have good contrast. 
How well does this type of map work with the colorblindness filters?

Eric

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread Juan Nunez-Iglesias
<3 <3 <3 Love the prototype colormap!!!--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread Nathaniel Smith
On Sun, Apr 5, 2015 at 12:46 AM, Eric Firing  wrote:
> On 2015/04/04 9:20 PM, Nathaniel Smith wrote:
>
>> While it's taking longer than hoped, just to reassure you that this
>> isn't total vaporware, here's a screenshot from the colormap designer
>> that Stéfan van der Walt and I have been working on... still needs
>> fine-tuning (which at this point probably won't happen until after I
>> get back from PyCon), but we like what we're seeing so far :-)
>>
>> The colormap shown has, by construction, perfect lightness linearity
>> and perfect perceptual uniformity, according to the better-than-CIELAB
>> model used by the viscm tool I linked upthread.
>>
>
> Thanks for the update, and the progress.  The example colormap looks
> promising as a viable alternative.  It appears to have good contrast. How
> well does this type of map work with the colorblindness filters?

Blue/yellow contrast is preserved with the common types of
colorblindness, so it should become a smooth ramp of blue ->
(reddish/greyish, depending on details/severity of color deficiency)
-> yellow. And the luminance remains linear. So it's definitely not a
disaster.

Beyond that I'm not entirely sure how to numerically quantify
perceptual uniformity for colorblind users -- we could use the
sRGB->sRGB formulas for simulating colorblindness for non-colorblind
viewers and then use the regular non-colorblind uniformity estimates,
but I have no idea how accurate that would be... my guess though is
that the way that colormaps is designed ATM it will have somewhat
faster hue shifts in the lower (blue) region than the upper (yellow)
region, and fastest in the middle, though this effect shouldn't be
huge (and to some extent is inevitable with any map that's both
colorful and perceptually uniform for non-colorblind users). Thinking
through these details is one of the things I had in mind when I
mentioned "fine tuning" above though :-).

We'd welcome any feedback from readers with non-simulated color deficiency!

-n

-- 
Nathaniel J. Smith -- http://vorpus.org

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread Benjamin Root
That is nice. The blue is a bit heavy, but that might be my display. Now,
how should we order it by default? I am used to thinking of blues as lower
values, and reds as higher. The yellow at the end throws me off a bit,
because I would think of it as a "weaker" color. Maybe if it was more
gold-like?

We should also start thinking of a snazzy name. BlRdYe probably won't cut
it.

Ben Root
On Apr 5, 2015 3:21 AM, "Nathaniel Smith"  wrote:

> On Mon, Feb 23, 2015 at 10:46 AM, Eric Firing  wrote:
> > On 2015/02/18 2:39 PM, Nathaniel Smith wrote:
> >>
> >> On Feb 16, 2015 3:39 PM, "Eric Firing"  wrote:
> >>>
> >>>
> >>> On 2015/02/16 1:29 PM, Michael Waskom wrote:
> >>>
>  Nathaniel's January 9 message in that thread (can't figure out how to
>  link to it in the archives) had a suggestion that I thought was very
>  promising, to do something similar to Parula but rotate around the hue
>  circle the other direction so that the hues would go blue - purple -
> red
>  - yellow. I don't think we've seen an example of exactly what it would
>  look like, but I reckon it would be similar to the middle colormap
> here
> 
> 
> http://earthobservatory.nasa.gov/blogs/elegantfigures/files/2013/08/three_perceptual_palettes_618.png
>  (from the elegant figures block series linked above), which I've
> always
>  found quite attractive.
> >>>
> >>>
> >>> Certainly it can be considered--but we have to have a real
> >>> implementation.
> >>
> >>
> >> While I hate to promise vaporware, I actually was planning to have a
> >> go at implementing such a colormap in the next few weeks, based on
> >> optimizing the same set of parameters that viscm visualizes... FWIW.
> >
> >
> > It might be worth quite a bit--and the sooner, the better.
>
> While it's taking longer than hoped, just to reassure you that this
> isn't total vaporware, here's a screenshot from the colormap designer
> that Stéfan van der Walt and I have been working on... still needs
> fine-tuning (which at this point probably won't happen until after I
> get back from PyCon), but we like what we're seeing so far :-)
>
> The colormap shown has, by construction, perfect lightness linearity
> and perfect perceptual uniformity, according to the better-than-CIELAB
> model used by the viscm tool I linked upthread.
>
> --
> Nathaniel J. Smith -- http://vorpus.org
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread Olga Botvinnik
How about "pythonic sunset" ?

On Sun, Apr 5, 2015 at 2:01 PM Benjamin Root  wrote:

> That is nice. The blue is a bit heavy, but that might be my display. Now,
> how should we order it by default? I am used to thinking of blues as lower
> values, and reds as higher. The yellow at the end throws me off a bit,
> because I would think of it as a "weaker" color. Maybe if it was more
> gold-like?
>
> We should also start thinking of a snazzy name. BlRdYe probably won't cut
> it.
>
> Ben Root
> On Apr 5, 2015 3:21 AM, "Nathaniel Smith"  wrote:
>
>> On Mon, Feb 23, 2015 at 10:46 AM, Eric Firing  wrote:
>> > On 2015/02/18 2:39 PM, Nathaniel Smith wrote:
>> >>
>> >> On Feb 16, 2015 3:39 PM, "Eric Firing"  wrote:
>> >>>
>> >>>
>> >>> On 2015/02/16 1:29 PM, Michael Waskom wrote:
>> >>>
>>  Nathaniel's January 9 message in that thread (can't figure out how to
>>  link to it in the archives) had a suggestion that I thought was very
>>  promising, to do something similar to Parula but rotate around the
>> hue
>>  circle the other direction so that the hues would go blue - purple -
>> red
>>  - yellow. I don't think we've seen an example of exactly what it
>> would
>>  look like, but I reckon it would be similar to the middle colormap
>> here
>> 
>> 
>> http://earthobservatory.nasa.gov/blogs/elegantfigures/files/2013/08/three_perceptual_palettes_618.png
>>  (from the elegant figures block series linked above), which I've
>> always
>>  found quite attractive.
>> >>>
>> >>>
>> >>> Certainly it can be considered--but we have to have a real
>> >>> implementation.
>> >>
>> >>
>> >> While I hate to promise vaporware, I actually was planning to have a
>> >> go at implementing such a colormap in the next few weeks, based on
>> >> optimizing the same set of parameters that viscm visualizes... FWIW.
>> >
>> >
>> > It might be worth quite a bit--and the sooner, the better.
>>
>> While it's taking longer than hoped, just to reassure you that this
>> isn't total vaporware, here's a screenshot from the colormap designer
>> that Stéfan van der Walt and I have been working on... still needs
>> fine-tuning (which at this point probably won't happen until after I
>> get back from PyCon), but we like what we're seeing so far :-)
>>
>> The colormap shown has, by construction, perfect lightness linearity
>> and perfect perceptual uniformity, according to the better-than-CIELAB
>> model used by the viscm tool I linked upthread.
>>
>> --
>> Nathaniel J. Smith -- http://vorpus.org
>>
>>
>> --
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> ___
>> Matplotlib-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>> 
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread OceanWolf
I like it, but perhaps we should condense it to one word for ease of 
typing, how about "Redgauntlet"?  It kind of feels appropriate (for 
those who need an explanation of why, see 
https://www.youtube.com/watch?v=_guKhYVr5vA).


On the colormap itself, it looks good apart from the fade into blue, my 
eyes on this laptop monitor see a sharp gradient around 0.2 compared 
with the more gradual gradient at the other end.  Also I see constant 
colour between 0 and 0.1, and between 0.9 and 1, with less change 
between 0.8 to 0.9 then 0.1 and 0.2.  Not sure if one causes an optical 
illusion in the other or not.


Finally a bit confused as to what all the lines mean, any chance of some 
annotation?  Also I would find it helpful to see a version without the 
big red line and what it looks like in practice (see the doc for the 
test script).


Best,
OceanWolf

On 05/04/15 23:18, Olga Botvinnik wrote:

How about "pythonic sunset" ?

On Sun, Apr 5, 2015 at 2:01 PM Benjamin Root > wrote:


That is nice. The blue is a bit heavy, but that might be my
display. Now, how should we order it by default? I am used to
thinking of blues as lower values, and reds as higher. The yellow
at the end throws me off a bit, because I would think of it as a
"weaker" color. Maybe if it was more gold-like?

We should also start thinking of a snazzy name. BlRdYe probably
won't cut it.

Ben Root

On Apr 5, 2015 3:21 AM, "Nathaniel Smith" mailto:[email protected]>> wrote:

On Mon, Feb 23, 2015 at 10:46 AM, Eric Firing
mailto:[email protected]>> wrote:
> On 2015/02/18 2:39 PM, Nathaniel Smith wrote:
>>
>> On Feb 16, 2015 3:39 PM, "Eric Firing" mailto:[email protected]>> wrote:
>>>
>>>
>>> On 2015/02/16 1:29 PM, Michael Waskom wrote:
>>>
 Nathaniel's January 9 message in that thread (can't
figure out how to
 link to it in the archives) had a suggestion that I
thought was very
 promising, to do something similar to Parula but rotate
around the hue
 circle the other direction so that the hues would go blue
- purple - red
 - yellow. I don't think we've seen an example of exactly
what it would
 look like, but I reckon it would be similar to the middle
colormap here



http://earthobservatory.nasa.gov/blogs/elegantfigures/files/2013/08/three_perceptual_palettes_618.png
 (from the elegant figures block series linked above),
which I've always
 found quite attractive.
>>>
>>>
>>> Certainly it can be considered--but we have to have a real
>>> implementation.
>>
>>
>> While I hate to promise vaporware, I actually was planning
to have a
>> go at implementing such a colormap in the next few weeks,
based on
>> optimizing the same set of parameters that viscm
visualizes... FWIW.
>
>
> It might be worth quite a bit--and the sooner, the better.

While it's taking longer than hoped, just to reassure you that
this
isn't total vaporware, here's a screenshot from the colormap
designer
that Stéfan van der Walt and I have been working on... still needs
fine-tuning (which at this point probably won't happen until
after I
get back from PyCon), but we like what we're seeing so far :-)

The colormap shown has, by construction, perfect lightness
linearity
and perfect perceptual uniformity, according to the
better-than-CIELAB
model used by the viscm tool I linked upthread.

--
Nathaniel J. Smith -- http://vorpus.org


--
Dive into the World of Parallel Programming The Go Parallel
Website, sponsored
by Intel and developed in partnership with Slashdot Media, is
your hub for all
things parallel software development, from weekly thought
leadership blogs to
news, videos, case studies, tutorials and more. Take a look
and join the
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Dive into the World of Parallel Programming The Go Parallel
Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your
hub for all
things parallel software development, from weekly thought
leadership blogs 

Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread Eric Firing

On 2015/04/04 10:10 PM, Nathaniel Smith wrote:

We'd welcome any feedback from readers with non-simulated color deficiency!


I checked with my red-green color-blind colleague, Niklas Schneider, and 
his evaluation is attached.


Eric

--- Begin Message ---
Hi Eric, the color scheme is good. To my eye, there is no bar of uniform
color, and, even more general, no duplication of color. The only quibble
may be the saturation toward 0 and toward 1.  This is a good scheme,
actually, I'd be interesting in the algorithm to implement in idl.

Niklas

On Sun, Apr 5, 2015 at 8:38 AM, Eric Firing  wrote:

> Niklas,
>
> We are working towards a revamped color scheme for matplotlib, and one of
> the goals is to have a default colormap that works reasonably well for
> those with color vision anomalies.  Would you be willing to comment now and
> then on colormap candidates?  One prototype is shown below. Colormap
> criteria include visual linearity and the ability to discriminate as many
> steps as possible.  The widely-used "jet" scheme, which until recently was
> the Matlab default and is still the matplotlib default, scores badly on
> linearity, and presumably causes red-green ambiguity problems as well.
>
> Eric
>
>
>  Forwarded Message 
> Subject: Re: [matplotlib-devel] release strategy and the color revolution
> Date: Sun, 5 Apr 2015 00:20:03 -0700
> From: Nathaniel Smith 
> To: Eric Firing 
> CC: Michael Waskom , matplotlib-devel@lists.
> sourceforge.net , Stéfan van der
> Walt 
>
> On Mon, Feb 23, 2015 at 10:46 AM, Eric Firing  wrote:
>
>> On 2015/02/18 2:39 PM, Nathaniel Smith wrote:
>>
>>>
>>> On Feb 16, 2015 3:39 PM, "Eric Firing"  wrote:
>>>


 On 2015/02/16 1:29 PM, Michael Waskom wrote:

  Nathaniel's January 9 message in that thread (can't figure out how to
> link to it in the archives) had a suggestion that I thought was very
> promising, to do something similar to Parula but rotate around the hue
> circle the other direction so that the hues would go blue - purple -
> red
> - yellow. I don't think we've seen an example of exactly what it would
> look like, but I reckon it would be similar to the middle colormap here
>
> http://earthobservatory.nasa.gov/blogs/elegantfigures/
> files/2013/08/three_perceptual_palettes_618.png
> (from the elegant figures block series linked above), which I've always
> found quite attractive.
>


 Certainly it can be considered--but we have to have a real
 implementation.

>>>
>>>
>>> While I hate to promise vaporware, I actually was planning to have a
>>> go at implementing such a colormap in the next few weeks, based on
>>> optimizing the same set of parameters that viscm visualizes... FWIW.
>>>
>>
>>
>> It might be worth quite a bit--and the sooner, the better.
>>
>
> While it's taking longer than hoped, just to reassure you that this
> isn't total vaporware, here's a screenshot from the colormap designer
> that Stéfan van der Walt and I have been working on... still needs
> fine-tuning (which at this point probably won't happen until after I
> get back from PyCon), but we like what we're seeing so far :-)
>
> The colormap shown has, by construction, perfect lightness linearity
> and perfect perceptual uniformity, according to the better-than-CIELAB
> model used by the viscm tool I linked upthread.
>
> --
> Nathaniel J. Smith -- http://vorpus.org
>
>
>
>
--- End Message ---
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread gary ruben
Just wondering whether anyone has suggested checking candidate colormaps
against typical printer color gamuts?
On 6 Apr 2015 1:11 pm, "Eric Firing"  wrote:

> On 2015/04/04 10:10 PM, Nathaniel Smith wrote:
>
>> We'd welcome any feedback from readers with non-simulated color
>> deficiency!
>>
>
> I checked with my red-green color-blind colleague, Niklas Schneider, and
> his evaluation is attached.
>
> Eric
>
>
>
> --
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy and the color revolution

2015-04-05 Thread Nathaniel Smith
On Apr 5, 2015 8:29 PM, "gary ruben"  wrote:
>
> Just wondering whether anyone has suggested checking candidate colormaps
against typical printer color gamuts?

How would you go about doing this in practice? Is it even possible to
choose a subset of sRGB space and have printers take advantage of that when
doing gamut mapping? (I guess I always assumed that printer gamut mapping
applied to an RGB image would map all of RGB into their gamut, so there
would be no advantage to restricting oneself go a subspace. But maybe I'm
wrong -- color management is pretty fancy these days.)

-n
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel