Skip to content
Prev Previous commit
Next Next commit
improve attribute description
  • Loading branch information
archmoj committed Nov 17, 2022
commit 81fa89355f834a15db6dfeecdf8f6b74ee9fb702
4 changes: 1 addition & 3 deletions src/traces/treemap/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,14 @@ module.exports = {
cornerradius: {
valType: 'number',
min: 0,
// max: 10, // TODO: Do we need a max?
dflt: 0,
editType: 'plot',
description: [
'Sets the rounding of corners (in px).'
'Sets the maximum rounding of corners (in px).'
].join(' ')
},

editType: 'calc',

},
colorScaleAttrs('marker', {
colorAttr: 'colors',
Expand Down
4 changes: 2 additions & 2 deletions test/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34113,7 +34113,7 @@
"valType": "string"
},
"cornerradius": {
"description": "Sets the rounding of corners (in px).",
"description": "Sets the maximum rounding of corners (in px).",
"dflt": 0,
"editType": "plot",
"min": 0,
Expand Down Expand Up @@ -69179,7 +69179,7 @@
"valType": "string"
},
"cornerradius": {
"description": "Sets the rounding of corners (in px).",
"description": "Sets the maximum rounding of corners (in px).",
"dflt": 0,
"editType": "plot",
"min": 0,
Expand Down