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

Method get_next_color

lib/matplotlib/axes/_axes.py:3688–3689  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3686 color_cycle = itertools.cycle(colors)
3687
3688 def get_next_color():
3689 return next(color_cycle)
3690
3691 hatch_cycle = itertools.cycle(np.atleast_1d(hatch))
3692

Callers 13

fill_betweenMethod · 0.45
plot_surfaceMethod · 0.45
plot_trisurfMethod · 0.45
bar3dMethod · 0.45
voxelsMethod · 0.45
stackplotFunction · 0.45
addMethod · 0.45
streamplotFunction · 0.45
_parse_bar_color_argsMethod · 0.45
_fill_between_x_or_yMethod · 0.45
histMethod · 0.45
stairsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected