Skip to content

Commit beb9d88

Browse files
committed
rename function argument to hideZeroSpan
1 parent 097bc78 commit beb9d88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/bar/plot.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ function plot(gd, plotinfo, cdModule, traceLayer, opts, makeOnCompleteCallback)
191191
d3.round(Math.round(v) - offset, 2) : v;
192192
}
193193

194-
function expandToVisible(v, vc, hideZeroHeight) {
195-
if(hideZeroHeight && v === vc) return v;
194+
function expandToVisible(v, vc, hideZeroSpan) {
195+
if(hideZeroSpan && v === vc) return v;
196196

197197
// if it's not in danger of disappearing entirely,
198198
// round more precisely

0 commit comments

Comments
 (0)