File tree 2 files changed +0
-7
lines changed 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,6 @@ def __setstate__(self, state):
164
164
def set_prop_cycle (self , * args , ** kwargs ):
165
165
if not (args or kwargs ) or (len (args ) == 1 and args [0 ] is None ):
166
166
prop_cycler = rcParams ['axes.prop_cycle' ]
167
- if prop_cycler is None and 'axes.color_cycle' in rcParams :
168
- clist = rcParams ['axes.color_cycle' ]
169
- prop_cycler = cycler ('color' , clist )
170
167
else :
171
168
prop_cycler = cycler (* args , ** kwargs )
172
169
Original file line number Diff line number Diff line change @@ -126,11 +126,7 @@ def to_rgba(c, alpha=None):
126
126
# Special-case nth color syntax because it should not be cached.
127
127
if _is_nth_color (c ):
128
128
from matplotlib import rcParams
129
- from matplotlib .rcsetup import cycler
130
129
prop_cycler = rcParams ['axes.prop_cycle' ]
131
- if prop_cycler is None and 'axes.color_cycle' in rcParams :
132
- clist = rcParams ['axes.color_cycle' ]
133
- prop_cycler = cycler ('color' , clist )
134
130
colors = prop_cycler ._transpose ().get ('color' , 'k' )
135
131
c = colors [int (c [1 ]) % len (colors )]
136
132
try :
You can’t perform that action at this time.
0 commit comments