You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plotly.graph_objects.scatter3d.Marker color incorrect HSV/HSL interpretation #4382
So expected colors for traces 1-4 are #40BF00, #AAFF80, #BF0040 and #FF80AA or close to them. And here is the output plot:
Traces got colors #AAFF7F, #AAFF7F, #9F7FFF and #9F7FFF respectively, so only trace 2 got correct color.
Some of my conclusions:
No matter which color model is chosen (HSV or HSL), it will be interpreted as HSL.
The '360 degrees' hue notation is used for HSL, but 8-bit integer expected, which means every hue from 256 to 359 is rounded to 255 and not accessible.
Activity
emilykl commentedon Aug 31, 2026
Closing since
hsv()color strings are no longer supported starting with plotly.py v7.0.0 (see plotly/plotly.js#7962 for more details).@MrSo0der, if you see any further color issues in
scatter3d, please go ahead and open a new issue!