There are several cycles in seaborn. Is it safe to assume that you mean the ‘deep’ palette?
···
On Mon, Feb 16, 2015 at 14:40 Eric Firing <efiring@…706…29…> wrote:
On 2015/02/16 12:01 PM, Eric Firing wrote:
Proposals for the new color cycle for line plots?
Here is a proposal: we simply adopt seaborn’s cycle.
Eric
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
Matplotlib-devel mailing list
Matplotlib-devel@…1041…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
There are several cycles in seaborn. Is it safe to assume that you mean
the 'deep' palette?
Yes, in the sense that when I wrote the message I was just looking at seaborn's tutorial showing the default, which is 'deep'--but I didn't know it then.
A good case could be made for "dark"; it has better contrast among all the colors. It might be better than "deep" for line plots, especially when the lines are thin.
The main point was to get at least one plausible choice on the table.
Does anyone have a suggestion for a colorblind-friendly cycle? Maybe omit the green and tack a gray on the end? I haven't checked, so I don't know if this would work well.
It is common to have plots with two curves, and the present blue, green pair is not very high-contrast; having the first two colors be blue and red would be better, I think.
Eric
···
On 2015/02/16 12:42 PM, Paul Hobson wrote:
On Mon, Feb 16, 2015 at 14:40 Eric Firing <efiring@...229... > <mailto:efiring@…229…>> wrote:
On 2015/02/16 12:01 PM, Eric Firing wrote:
>
> Proposals for the new color cycle for line plots?
Here is a proposal: we simply adopt seaborn's cycle.
Eric
Does anyone have a suggestion for a colorblind-friendly cycle? Maybe
omit the green and tack a gray on the end? I haven't checked, so I
don't know if this would work well.
Here are two palettes that are optimized for colorblindness:
Seaborn has a `colorblind` palette that is somewhere between these colors
and the standard matplotlib/seaborn set. It's intended to be a little
better than deep (which actually isn't too bad in terms of red vs green),
but it's not been extensively tested or optimized.
It is common to have plots with two curves, and the present blue, green
pair is not very high-contrast; having the first two colors be blue and
red would be better, I think.
+1
···
On Mon, Feb 16, 2015 at 3:15 PM, Eric Firing <efiring@...229...> wrote:
actually I should say I have no idea if those are optimal, but the
simulations do suggest they work well.
···
On Mon, Feb 16, 2015 at 3:19 PM, Michael Waskom <mwaskom@...22...> wrote:
Here are two palettes that are optimized for colorblindness
Strange--they have both red and green, so I would never have expected them to work. The yellow looks too light to work well on a light background, especially for projecting slides.
Eric
···
On 2015/02/16 1:19 PM, Michael Waskom wrote:
Here are two palettes that are optimized for colorblindness:
Colors (ggplot2)
It’s helped by pulling the green towards blue and the red towards yellow, but they are probably the hardest to distinguish in the set.
Which emphasizes that, while it’s good to start with a colorblind-friendly set of colors, the person making the figure also has the responsibility to choose how to use those colors carefully so that the categories that are most important to distinguish aren’t colored with red and green.
···
On Mon, Feb 16, 2015 at 3:32 PM, Eric Firing <efiring@…552…229…> wrote:
Here are two palettes that are optimized for colorblindness:
http://www.cookbook-r.com/Graphs/Colors_%28ggplot2%29/#a-colorblind-friendly-palette
On 2015/02/16 1:19 PM, Michael Waskom wrote:
Strange–they have both red and green, so I would never have expected them to work. The yellow looks too light to work well on a light background, especially for projecting slides.
Eric