Skip to content

Commit abc8ae2

Browse files
committed
edited the description of surface opacity attribute
1 parent 12df469 commit abc8ae2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/traces/surface/attributes.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,13 @@ colorscaleAttrs('', {
237237
min: 0,
238238
max: 1,
239239
dflt: 1,
240-
description: 'Sets the opacity of the surface.'
240+
description: [
241+
'Sets the opacity of the surface.',
242+
'Please note that in the case of using high `opacity` values for example a value',
243+
'greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an',
244+
'overlay of multiple transparent surfaces may not perfectly be sorted in depth by the',
245+
'webgl API. This behavior may be improved in the near future and is subject to change.'
246+
].join(' ')
241247
},
242248

243249
_deprecated: {

0 commit comments

Comments
 (0)