I am make a plotting in which I want to assign each category a unique color. However, with number of categories increase, I found that the color actually repeats in a cycle

Right now I think Plotly by defaults only cycle through 10 unique colors, which makes sense according to the source
I am wondering if there is way to let user increase amount of colors evolved in the cycle or simply let user add their customized colors to the cycle?
Thanks