We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a90968 commit 2f3bd84Copy full SHA for 2f3bd84
src/traces/heatmap/calc.js
@@ -14,6 +14,7 @@ var isNumeric = require('fast-isnumeric');
14
var Plotly = require('../../plotly');
15
var Lib = require('../../lib');
16
17
+var histogram2dCalc = require('../histogram2d/calc');
18
var hasColumns = require('./has_columns');
19
var convertColumnXYZ = require('./convert_column_xyz');
20
var maxRowLength = require('./max_row_length');
@@ -45,7 +46,7 @@ module.exports = function calc(gd, trace) {
45
46
Lib.markTime('done convert x&y');
47
48
if(isHist) {
- var binned = Plotly.Histogram.calc2d(gd, trace);
49
+ var binned = histogram2dCalc(gd, trace);
50
x = binned.x;
51
x0 = binned.x0;
52
dx = binned.dx;
0 commit comments