Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c61a9d commit ef4aed5Copy full SHA for ef4aed5
1 file changed
lib/matplotlib/colors.py
@@ -127,7 +127,7 @@ def to_rgba(c, alpha=None):
127
if _is_nth_color(c):
128
from matplotlib import rcParams
129
prop_cycler = rcParams['axes.prop_cycle']
130
- colors = prop_cycler._transpose().get('color', 'k')
+ colors = prop_cycler.by_key().get('color', ['k'])
131
c = colors[int(c[1]) % len(colors)]
132
try:
133
rgba = _colors_full_map.cache[c, alpha]
0 commit comments