MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _is_nth_color

Function _is_nth_color

lib/matplotlib/colors.py:221–223  ·  view source on GitHub ↗

Return whether *c* can be interpreted as an item in the color cycle.

(c)

Source from the content-addressed store, hash-verified

219
220
221def _is_nth_color(c):
222 """Return whether *c* can be interpreted as an item in the color cycle."""
223 return isinstance(c, str) and _nth_color_re.match(c)
224
225
226def is_color_like(c):

Callers 2

is_color_likeFunction · 0.85
to_rgbaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…