Skip to content

Commit 81fa893

Browse files
committed
improve attribute description
1 parent 66ca5f9 commit 81fa893

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/traces/treemap/attributes.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,14 @@ module.exports = {
144144
cornerradius: {
145145
valType: 'number',
146146
min: 0,
147-
// max: 10, // TODO: Do we need a max?
148147
dflt: 0,
149148
editType: 'plot',
150149
description: [
151-
'Sets the rounding of corners (in px).'
150+
'Sets the maximum rounding of corners (in px).'
152151
].join(' ')
153152
},
154153

155154
editType: 'calc',
156-
157155
},
158156
colorScaleAttrs('marker', {
159157
colorAttr: 'colors',

test/plot-schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34113,7 +34113,7 @@
3411334113
"valType": "string"
3411434114
},
3411534115
"cornerradius": {
34116-
"description": "Sets the rounding of corners (in px).",
34116+
"description": "Sets the maximum rounding of corners (in px).",
3411734117
"dflt": 0,
3411834118
"editType": "plot",
3411934119
"min": 0,
@@ -69179,7 +69179,7 @@
6917969179
"valType": "string"
6918069180
},
6918169181
"cornerradius": {
69182-
"description": "Sets the rounding of corners (in px).",
69182+
"description": "Sets the maximum rounding of corners (in px).",
6918369183
"dflt": 0,
6918469184
"editType": "plot",
6918569185
"min": 0,

0 commit comments

Comments
 (0)