color cycler imported where iti is needed
This commit is contained in:
parent
297c731166
commit
d19e0bcb3a
@ -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'],
|
||||
|
Reference in New Issue
Block a user