I\'d like to NOT specify a color for each plotted line, and have each line get a distinct color. But if I run:
from matplotlib import pyplot as plt for i in
You can use axes.set_prop_cycle (example).
axes.set_prop_cycle
You can use axes.set_color_cycle (example).
axes.set_color_cycle
You can use Axes.set_default_color_cycle.
Axes.set_default_color_cycle