In my preamble I have
import numpy as np
import numpy as np
import matplotlib.pyplot as plt
from cycler import cycler
plt.style.use([
'seaborn-paper', {'axes.prop_cycle': (
cycler('color', ['k'])*
cycler('lw', [2,1])*
cycler('dashes', [[],[13,2],[8,3,1,3]]))}])
When I later use plt.plot() using keyword arguments (or their equivalents),
e.g.,
a = np.array((0.,5.))
plt.plot(a,a, linewidth=6)
plt.plot(-a,a, '-')
I'm expecting a VERY wide 1st line and a continuous 2nd one, but this is what I get
What can I do if I want to
- have a sensible (for me:) default cycle for the line styles and
- break the rules here and there?
tia
