Skip to content

Commit 8f34227

Browse files
committed
replace 'emptybox' with 'empty' in box calc item
... in preparation for violin
1 parent c578cde commit 8f34227

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/traces/box/calc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = function calc(gd, trace) {
125125
fullLayout[numKey]++;
126126
return cd;
127127
} else {
128-
return [{t: {emptybox: true}}];
128+
return [{t: {empty: true}}];
129129
}
130130
};
131131

src/traces/box/plot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = function plot(gd, plotinfo, cdbox) {
5959
// whisker width
6060
var wdPos = bdPos * trace.whiskerwidth;
6161

62-
if(trace.visible !== true || t.emptybox) {
62+
if(trace.visible !== true || t.empty) {
6363
d3.select(this).remove();
6464
return;
6565
}

src/traces/box/set_positions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = function setPositions(gd, plotinfo) {
4444
trace = cd[0].trace;
4545

4646
if(trace.visible === true && Registry.traceIs(trace, 'box') &&
47-
!t.emptybox &&
47+
!t.empty &&
4848
trace.orientation === orientation &&
4949
trace.xaxis === xa._id &&
5050
trace.yaxis === ya._id) {

0 commit comments

Comments
 (0)