Skip to content

Commit fca1c11

Browse files
committed
drop scattergroupgap
1 parent a1f876a commit fca1c11

File tree

4 files changed

+1
-22
lines changed

4 files changed

+1
-22
lines changed

src/traces/scatter/cross_trace_calc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ function groupCrossTraceCalc(gd, plotinfo) {
3131

3232
var opts = {
3333
mode: fullLayout.scattermode,
34-
gap: fullLayout.scattergap,
35-
groupgap: fullLayout.scattergroupgap
34+
gap: fullLayout.scattergap
3635
};
3736

3837
setGroupPositions(gd, xa, ya, calcTracesVert, opts);

src/traces/scatter/layout_attributes.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,5 @@ module.exports = {
2626
'adjacent location coordinates.',
2727
'Defaults to `bargap`.'
2828
].join(' ')
29-
},
30-
scattergroupgap: {
31-
valType: 'number',
32-
min: 0,
33-
max: 1,
34-
dflt: 0,
35-
editType: 'calc',
36-
description: [
37-
'Sets the gap (in plot fraction) between scatter points of',
38-
'the same location coordinate.'
39-
].join(' ')
4029
}
4130
};

src/traces/scatter/layout_defaults.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ module.exports = function(layoutIn, layoutOut) {
1313

1414
if(layoutOut.scattermode === 'group') {
1515
coerce('scattergap', groupBarmode ? layoutOut.bargap : 0.2);
16-
coerce('scattergroupgap');
1716
}
1817
};

test/plot-schema.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45315,14 +45315,6 @@
4531545315
"min": 0,
4531645316
"valType": "number"
4531745317
},
45318-
"scattergroupgap": {
45319-
"description": "Sets the gap (in plot fraction) between scatter points of the same location coordinate.",
45320-
"dflt": 0,
45321-
"editType": "calc",
45322-
"max": 1,
45323-
"min": 0,
45324-
"valType": "number"
45325-
},
4532645318
"scattermode": {
4532745319
"description": "Determines how scatter points at the same location coordinate are displayed on the graph. With *group*, the scatter points are plotted next to one another centered around the shared location. With *overlay*, the scatter points are plotted over one another, you might need to reduce *opacity* to see multiple scatter points.",
4532845320
"dflt": "overlay",

0 commit comments

Comments
 (0)