import randomimport numpy as npimport matplotlib as mplimport pandas as pdimport plotly.express as pxcolors =list(mpl.colors.cnames.keys())colors = random.choices(colors, weights=[0.9, 0.04, 0.05, 0.09]*37, k=10_000)colors += [np.nan for i inrange(240)]colors[:20]