Skip to content

Commit 877aeae

Browse files
committed
description updates
1 parent a3ca951 commit 877aeae

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

src/traces/parcoords/attributes.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,18 @@ module.exports = {
119119
autocolorscale: extendDeep(
120120
{},
121121
colorAttributes('line').autocolorscale,
122-
{dflt: false}
122+
{
123+
dflt: false,
124+
description: [
125+
'Has an effect only if line.color` is set to a numerical array.',
126+
'Determines whether the colorscale is a default palette (`autocolorscale: true`)',
127+
'or the palette determined by `line.colorscale`.',
128+
'In case `colorscale` is unspecified or `autocolorscale` is true, the default ',
129+
'palette will be chosen according to whether numbers in the `color` array are',
130+
'all positive, all negative or mixed.',
131+
'The default value is false, so that `parcoords` colorscale can default to `Viridis`.'
132+
].join(' ')
133+
}
123134
)
124135

125136
}
@@ -131,7 +142,7 @@ module.exports = {
131142
role: 'info',
132143
dflt: false,
133144
description: [
134-
'Has an effect only if `marker.color` is set to a numerical array.',
145+
'Has an effect only if `line.color` is set to a numerical array.',
135146
'Determines whether or not a colorbar is displayed.'
136147
].join(' ')
137148
},

src/traces/parcoords/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Parcoords.meta = {
2424
description: [
2525
'Parallel coordinates for multidimensional exploratory data analysis.',
2626
'The samples are in `data`.',
27-
'The colors are set in `colors`.'
27+
'The colors are set in `line.color`.'
2828
].join(' ')
2929
};
3030

0 commit comments

Comments
 (0)