Skip to content

Commit d692c7e

Browse files
committed
Update minimum and add units to description
1 parent 61807ba commit d692c7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plots/layout_attributes.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,17 +230,17 @@ module.exports = {
230230
},
231231
minreducedwidth: {
232232
valType: 'number',
233-
min: 0,
233+
min: 2,
234234
dflt: 64,
235235
editType: 'plot',
236-
description: 'Minimum width of the plot with automargin applied.'
236+
description: 'Minimum width of the plot with automargin applied (in px)'
237237
},
238238
minreducedheight: {
239239
valType: 'number',
240-
min: 0,
240+
min: 2,
241241
dflt: 64,
242242
editType: 'plot',
243-
description: 'Minimum height of the plot with automargin applied.'
243+
description: 'Minimum height of the plot with automargin applied (in px)'
244244
},
245245
autoexpand: {
246246
valType: 'boolean',

0 commit comments

Comments
 (0)