Hi @michaelyang,
You can change the default color palette to a different pallet with more individual colors, for example alphabet
contains 26 colors
An example:
import pandas as pd
import plotly.express as px
import numpy as np
import string
df = pd.DataFrame(
np.random.randint(1,20,size=(26,26)),
columns=list(string.ascii_uppercase)
)
fig = px.scatter(
df,
x=df.index,
y=df.columns,
color_discrete_sequence=px.colors.qualitative.Alphabet
)
fig.show()
mrep colors