-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
bpostlethwaite/colormap
#22Labels
bugsomething brokensomething broken
Description
It seems that there is a breakdown in the colorscale handling for the surface
trace when the colorscale definition has length >= 256.
CodePen: https://codepen.io/jonmmease/pen/OGLOYK
For colorscale of length 255, things work as expected:
For colorscale of length 256, the colorbar is displayed properly but the surface is not rendered and there is a console error:
Error: ... map requires nshades to be at least size 256
If there is a hardware need for a colorscale length limit it would be great if this could be increased from 255 to 256 because that's a relatively common length for colorscales specified in libraries like matplotlib and colorcet.
Metadata
Metadata
Assignees
Labels
bugsomething brokensomething broken