Skip to content

Commit 6494302

Browse files
committed
change polar bargap 0.2 -> 0.2
1 parent 160f742 commit 6494302

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/traces/barpolar/layout_attributes.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ module.exports = {
2525
},
2626
bargap: {
2727
valType: 'number',
28-
// TODO is this correct?
29-
// I think 0.2 (like for bars) is a little much, maybe 0.1 would work better?
30-
dflt: 0.2,
28+
dflt: 0.1,
3129
min: 0,
3230
max: 1,
3331
role: 'style',
3432
editType: 'calc',
3533
description: [
36-
'Sets the gap (in plot ??angular?? fraction) between bars of',
37-
'adjacent location coordinates.'
34+
'Sets the gap between bars of',
35+
'adjacent location coordinates.',
36+
'Values are unitless, they represent fractions of the minimum difference',
37+
'in bar positions in the data.'
3838
].join(' ')
3939
}
4040
};
-28 Bytes
Loading
-310 Bytes
Loading
Loading
-1.28 KB
Loading
4 Bytes
Loading

test/jasmine/tests/barpolar_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ describe('Test barpolar hover:', function() {
9393
yval: 0,
9494
exp: {
9595
index: 1,
96-
x: 302.48,
97-
y: 125.55,
96+
x: 296.32,
97+
y: 117.74,
9898
extraText: 'r: 2<br>θ: 90°',
9999
color: '#1f77b4'
100100
}

0 commit comments

Comments
 (0)