Skip to content

Commit f32859b

Browse files
committed
make sure histograms get a round of bar array-to-calcdata
- require to make colorscale work on histogram traces
1 parent 9ca589a commit f32859b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/traces/histogram/calc.js

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ var isNumeric = require('fast-isnumeric');
1414
var Lib = require('../../lib');
1515
var Axes = require('../../plots/cartesian/axes');
1616

17+
var arraysToCalcdata = require('../bar/arrays_to_calcdata');
1718
var binFunctions = require('./bin_functions');
1819
var normFunctions = require('./norm_functions');
1920
var doAvg = require('./average');
@@ -168,6 +169,8 @@ module.exports = function calc(gd, trace) {
168169
}
169170
}
170171

172+
arraysToCalcdata(cd, trace);
173+
171174
return cd;
172175
};
173176

0 commit comments

Comments
 (0)