From 9a2e7a2cd260c36d73ba36149645b913dd74858b Mon Sep 17 00:00:00 2001 From: Emlyn Price Date: Sun, 17 Sep 2017 22:43:19 +0100 Subject: [PATCH 1/3] Add tableau colorblind 10 palette There is currently only one colorblind friendly color cycle in the included style sheets. This adds another - the colorblind 10 palette from Tableau. --- lib/matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lib/matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle diff --git a/lib/matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle b/lib/matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle new file mode 100644 index 000000000000..2d8cb0208d5a --- /dev/null +++ b/lib/matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle @@ -0,0 +1,3 @@ +# Tableau colorblind 10 palette +axes.prop_cycle: cycler('color', ['006BA4', 'FF800E', 'ABABAB', '595959', '5F9ED1', 'C85200', '898989', 'A2C8EC', 'FFBC79', 'CFCFCF']) +patch.facecolor: 006BA4 \ No newline at end of file From 34114de96194523ce657dc1dc6dd43bb3c72ce3b Mon Sep 17 00:00:00 2001 From: Emlyn Price Date: Sat, 30 Sep 2017 15:36:16 +0100 Subject: [PATCH 2/3] Add what's new file for new color cycle --- doc/users/next_whats_new/new_color_cycle.rst | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/users/next_whats_new/new_color_cycle.rst diff --git a/doc/users/next_whats_new/new_color_cycle.rst b/doc/users/next_whats_new/new_color_cycle.rst new file mode 100644 index 000000000000..a9ca7c8952d0 --- /dev/null +++ b/doc/users/next_whats_new/new_color_cycle.rst @@ -0,0 +1,4 @@ +New colorblind-friendly color cycle +=================================== + +A new color cycle has been added, tableau-colorblind10, to provide another option for colorblind-friendly plots. From 25ea8974e25a79d638deb5cea17e4aac00b5940e Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Wed, 18 Oct 2017 12:45:55 -0700 Subject: [PATCH 3/3] Mild edit to next_whats_new --- doc/users/next_whats_new/new_color_cycle.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/users/next_whats_new/new_color_cycle.rst b/doc/users/next_whats_new/new_color_cycle.rst index a9ca7c8952d0..05417fdca660 100644 --- a/doc/users/next_whats_new/new_color_cycle.rst +++ b/doc/users/next_whats_new/new_color_cycle.rst @@ -1,4 +1,5 @@ -New colorblind-friendly color cycle -=================================== +New style colorblind-friendly color cycle +========================================= -A new color cycle has been added, tableau-colorblind10, to provide another option for colorblind-friendly plots. +A new style defining a color cycle has been added, tableau-colorblind10, to provide another option for +colorblind-friendly plots.