lab-cosmo / chemiscope

An interactive structure/property explorer for materials and molecules
http://chemiscope.org
BSD 3-Clause "New" or "Revised" License
121 stars 29 forks source link

Use labelalias when using categorical values as color #277

Open Luthaf opened 1 year ago

Luthaf commented 1 year ago

Plotly supports setting a name for different values in the colorbar with labelalias. We should use this when using a categorical property (i.e. a string-valued property) as color!