Created
August 12, 2021 05:55
-
-
Save AayushSameerShah/0a2ade4ba3deb5cade7ff9226d6336e4 to your computer and use it in GitHub Desktop.
This will generate the colors for plotly (or for others as well)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Number of elements (total colors to generate in short) | |
N = 30 | |
c = ['hsl('+str(h)+',50%'+',50%)' for h in np.linspace(0, 360, N)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment