Black Lives Matter. Please consider donating to Black Girls Code today.

Infinite (generator-like) discrete color sequences?

I’m plotting categorical data and would like a new color assigned to each data point. Perhaps chosen randomly, or such that new colors contrast with previous ones.

Does plotly have an infinite, generator-like color sequence like this? Perhaps one of the color maps in px.colors.qualitative?