Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f761b09

Browse files
committed
Isosurface attributes add roles, tweak descriptions
1 parent 604a2d9 commit f761b09

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

src/traces/isosurface/attributes.js

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,97 +21,101 @@ var attrs = {
2121
role: 'info',
2222
editType: 'calc+clearAxisTypes',
2323
description: [
24-
'Sets the x coordinates of the isosurface'
24+
'Sets the x coordinates of the volume data'
2525
].join(' ')
2626
},
2727
y: {
2828
valType: 'data_array',
2929
role: 'info',
3030
editType: 'calc+clearAxisTypes',
3131
description: [
32-
'Sets the y coordinates of the isosurface'
32+
'Sets the y coordinates of the volume data'
3333
].join(' ')
3434
},
3535
z: {
3636
valType: 'data_array',
3737
role: 'info',
3838
editType: 'calc+clearAxisTypes',
3939
description: [
40-
'Sets the z coordinates of the isosurface'
40+
'Sets the z coordinates of the volume data'
4141
].join(' ')
4242
},
4343

4444
value: {
4545
valType: 'data_array',
4646
role: 'info',
4747
editType: 'calc',
48-
description: 'Sets the intensity values of the isosurface.'
48+
description: 'Sets the intensity values of the volume data.'
4949
},
5050

5151
isomin: {
5252
valType: 'number',
53+
role: 'info',
5354
editType: 'calc',
54-
description: 'Sets the minimum iso bound of the isosurface.'
55+
description: 'Sets the minimum intensity bound of the isosurface.'
5556
},
5657

5758
isomax: {
5859
valType: 'number',
60+
role: 'info',
5961
editType: 'calc',
60-
description: 'Sets the maximum iso bound of the isosurface.'
62+
description: 'Sets the maximum intensity bound of the isosurface.'
6163
},
6264

6365
xmin: {
6466
valType: 'number',
67+
role: 'info',
6568
editType: 'calc',
6669
description: 'Sets the minimum x bound of the isosurface.'
6770
},
6871

6972
xmax: {
7073
valType: 'number',
74+
role: 'info',
7175
editType: 'calc',
7276
description: 'Sets the maximum x bound of the isosurface.'
7377
},
7478

7579
ymin: {
7680
valType: 'number',
81+
role: 'info',
7782
editType: 'calc',
7883
description: 'Sets the minimum y bound of the isosurface.'
7984
},
8085

8186
ymax: {
8287
valType: 'number',
88+
role: 'info',
8389
editType: 'calc',
8490
description: 'Sets the maximum y bound of the isosurface.'
8591
},
8692

8793
zmin: {
8894
valType: 'number',
95+
role: 'info',
8996
editType: 'calc',
9097
description: 'Sets the minimum z bound of the isosurface.'
9198
},
9299

93100
zmax: {
94101
valType: 'number',
102+
role: 'info',
95103
editType: 'calc',
96104
description: 'Sets the maximum z bound of the isosurface.'
97105
},
98106

99107
smoothnormals: {
100108
valType: 'boolean',
109+
role: 'info',
101110
editType: 'calc',
102-
description: ''
103-
},
104-
105-
singlemesh: {
106-
valType: 'boolean',
107-
editType: 'calc',
108-
description: ''
111+
description: 'Smooth normals of the isosurface (default: true)'
109112
},
110113

111114
isocaps: {
112115
valType: 'boolean',
116+
role: 'info',
113117
editType: 'calc',
114-
description: ''
118+
description: 'Whether to generate isocaps for the isosurface (default: true)'
115119
},
116120

117121
text: {

0 commit comments

Comments
 (0)