Skip to content

Commit d918264

Browse files
committed
bow to the 🐄
1 parent 885dae7 commit d918264

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/plots/gl2d/scene2d.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,6 @@ proto.plot = function(fullData, calcData, fullLayout) {
335335
var glplot = this.glplot,
336336
pixelRatio = this.pixelRatio;
337337

338-
var i;
339-
340338
this.fullLayout = fullLayout;
341339
this.updateAxes(fullLayout);
342340
this.updateTraces(fullData, calcData);
@@ -379,6 +377,8 @@ proto.plot = function(fullData, calcData, fullLayout) {
379377
bounds[2] = bounds[3] = -Infinity;
380378

381379
var traceIds = Object.keys(this.traces);
380+
var ax, i;
381+
382382
for(i = 0; i < traceIds.length; ++i) {
383383
var traceObj = this.traces[traceIds[i]];
384384

@@ -388,7 +388,6 @@ proto.plot = function(fullData, calcData, fullLayout) {
388388
}
389389
}
390390

391-
var ax;
392391
for(i = 0; i < 2; ++i) {
393392
if(bounds[i] > bounds[i + 2]) {
394393
bounds[i] = -1;

src/traces/heatmap/calc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module.exports = function calc(gd, trace) {
113113
yIn = trace.ytype === 'scaled' ? '' : trace.y,
114114
yArray = makeBoundArray(trace, yIn, y0, dy, z.length, ya);
115115

116-
// handler in gl2d convert step
116+
// handled in gl2d convert step
117117
if(!isGL2D) {
118118
Axes.expand(xa, xArray);
119119
Axes.expand(ya, yArray);

0 commit comments

Comments
 (0)