Skip to content

Commit 8ebc030

Browse files
committed
add comment for transitioning empty bars
1 parent 4c323bc commit 8ebc030

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/traces/bar/plot.js

+1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ function plot(gd, plotinfo, cdModule, traceLayer, opts, makeOnCompleteCallback)
157157
}
158158
di.isBlank = isBlank;
159159

160+
// for empty bars, ensure start and end positions are equal when having transition
160161
if(isBlank && withTransition) {
161162
if(isHorizontal) {
162163
x1 = x0;

0 commit comments

Comments
 (0)