From 047f605839f0f3d0ca9df27b2e45784097657f3d Mon Sep 17 00:00:00 2001 From: Michal Chrzanowski Date: Sun, 23 Sep 2018 21:33:33 +0200 Subject: [PATCH 1/2] replace axes.color_cycle with axes.prop_cycle https://stackoverflow.com/questions/38045437/how-to-fix-py872-axes-color-cycle-is-deprecated-and-replaced-with-axes-prop-c --- styles/matplotlibrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/matplotlibrc b/styles/matplotlibrc index 0152865a..27bbb93b 100644 --- a/styles/matplotlibrc +++ b/styles/matplotlibrc @@ -237,7 +237,7 @@ axes.labelsize : large # fontsize of the x any y labels #axes.unicode_minus : True # use unicode for the minus symbol # rather than hyphen. See # http://en.wikipedia.org/wiki/Plus_and_minus_signs#Character_codes -axes.color_cycle : 348ABD, A60628, 7A68A6, 467821,D55E00, CC79A7, 56B4E9, 009E73, F0E442, 0072B2 # color cycle for plot lines +axes.prop_cycle : cycler('color', ['348ABD', 'A60628', '7A68A6', '467821', 'D55E00', 'CC79A7', '56B4E9', '009E73', 'F0E442', '0072B2'] # color cycle for plot lines # as list of string colorspecs: # single letter, long name, or # web-style hex From 14f93a399426c7954abcf6fcb48f7951ac477418 Mon Sep 17 00:00:00 2001 From: Yossi Synett Date: Thu, 25 Oct 2018 16:55:29 +0200 Subject: [PATCH 2/2] Update styles/matplotlibrc Co-Authored-By: michrzan --- styles/matplotlibrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/matplotlibrc b/styles/matplotlibrc index 27bbb93b..0942d23b 100644 --- a/styles/matplotlibrc +++ b/styles/matplotlibrc @@ -237,7 +237,7 @@ axes.labelsize : large # fontsize of the x any y labels #axes.unicode_minus : True # use unicode for the minus symbol # rather than hyphen. See # http://en.wikipedia.org/wiki/Plus_and_minus_signs#Character_codes -axes.prop_cycle : cycler('color', ['348ABD', 'A60628', '7A68A6', '467821', 'D55E00', 'CC79A7', '56B4E9', '009E73', 'F0E442', '0072B2'] # color cycle for plot lines +axes.prop_cycle : cycler('color', ['348ABD', 'A60628', '7A68A6', '467821', 'D55E00', 'CC79A7', '56B4E9', '009E73', 'F0E442', '0072B2']) # color cycle for plot lines # as list of string colorspecs: # single letter, long name, or # web-style hex