Skip to content

Commit 2b3c344

Browse files
authored
Merge pull request #662 from yankev/update-descriptions
Update `nticks` and `ncontours` descriptions
2 parents 2c3bfb7 + 9e4b77e commit 2b3c344

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/plots/cartesian/layout_attributes.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ module.exports = {
131131
dflt: 0,
132132
role: 'style',
133133
description: [
134-
'Sets the number of ticks.',
134+
'Specifies the maximum number of ticks for the particular axis.',
135+
'The actual number of ticks will be chosen automatically to be',
136+
'less than or equal to `nticks`.',
135137
'Has an effect only if `tickmode` is set to *auto*.'
136138
].join(' ')
137139
},

src/traces/contour/attributes.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ module.exports = extendFlat({},
4747
dflt: 0,
4848
role: 'style',
4949
description: [
50-
'Sets the number of contour levels.',
50+
'Sets the maximum number of contour levels. The actual number',
51+
'of contours will be chosen automatically to be less than or',
52+
'equal to the value of `ncontours`.',
5153
'Has an effect only if `autocontour` is *true*.'
5254
].join(' ')
5355
},

0 commit comments

Comments
 (0)