Skip to content

Commit 2db3419

Browse files
committed
Fix merge
1 parent 3780d3b commit 2db3419

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/colors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,7 @@ def _get_nth_color(cls, val):
285285
clist = rcParams['axes.color_cycle']
286286
prop_cycler = cycler('color', clist)
287287

288-
cycler = cls._get_property_cycler()
289-
colors = cycler.by_key()['color']
288+
colors = prop_cycler.by_key()['color']
290289
return colors[val % len(colors)]
291290

292291
@classmethod

0 commit comments

Comments
 (0)