You are reading an old version of the documentation (v2.2.2). For the latest version see https://matplotlib.org/stable/
Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.set_color_cycle

Axes.set_color_cycle(clist)

Deprecated since version 1.5: The set_color_cycle function was deprecated in version 1.5. Use set_prop_cycle instead.

Set the color cycle for any future plot commands on this Axes.

Parameters:
clist

A list of mpl color specifiers.