Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_between
Method · 0.45
plot_surface
Method · 0.45
plot_trisurf
Method · 0.45
bar3d
Method · 0.45
voxels
Method · 0.45
stackplot
Function · 0.45
add
Method · 0.45
streamplot
Function · 0.45
_parse_bar_color_args
Method · 0.45
_fill_between_x_or_y
Method · 0.45
hist
Method · 0.45
stairs
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected