From d19e0bcb3a96978d7feb8b837f5a19a3c06b4a83 Mon Sep 17 00:00:00 2001 From: Jan Benda <jan.benda@uni-tuebingen.de> Date: Thu, 9 Jan 2020 16:33:05 +0100 Subject: [PATCH] color cycler imported where iti is needed --- plotstyle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotstyle.py b/plotstyle.py index fd4e95b..de5d5fd 100644 --- a/plotstyle.py +++ b/plotstyle.py @@ -1,6 +1,5 @@ import matplotlib as mpl import matplotlib.pyplot as plt -from cycler import cycler from mpl_toolkits.mplot3d import Axes3D xkcd_style = False @@ -368,6 +367,7 @@ def common_format(): mpl.rcParams['axes.edgecolor'] = lsSpine['c'] mpl.rcParams['axes.linewidth'] = lsSpine['linewidth'] if 'axes.prop_cycle' in mpl.rcParams: + from cycler import cycler mpl.rcParams['axes.prop_cycle'] = cycler(color=[colors['blue'], colors['red'], colors['orange'], colors['green'], colors['purple'], colors['yellow'],