Skip to content

Commit 6a6ecdb

Browse files
authored
Merge pull request #3688 from plotly/mesh3d-vertex-color-alpha-description
Update vertextcolor description to note the range of the values
2 parents 1b607c3 + 135fdc5 commit 6a6ecdb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/traces/mesh3d/attributes.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ module.exports = extendFlat({
162162
editType: 'calc',
163163
description: [
164164
'Sets the color of each vertex',
165-
'Overrides *color*.'
165+
'Overrides *color*. While Red, green and blue colors',
166+
'are in the range of 0 and 255; in the case of having',
167+
'vertex color data in RGBA format, the alpha color',
168+
'should be normalized to be between 0 and 1.'
166169
].join(' ')
167170
},
168171
facecolor: {

0 commit comments

Comments
 (0)