Skip to content

Commit a1f2138

Browse files
committed
Fix lint errors
1 parent 2fca6cb commit a1f2138

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plots/cartesian/transition_axes.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ module.exports = function transitionAxes(gd, newLayout, transitionOpts, makeOnCo
151151
// scale to individual points to counteract the scale of the trace
152152
// as a whole:
153153
.selectAll('.points').selectAll('.point')
154-
.call(Drawing.setPointGroupScale, 1, 1)
154+
.call(Drawing.setPointGroupScale, 1, 1);
155155

156156
subplot.plot.selectAll('.points').selectAll('g')
157-
.each(function () {
157+
.each(function() {
158158
var el = d3.select(this);
159159
var existingTransform = el.attr('transform').match(LAST_TRANSLATION_RE);
160160
el.attr('transform', existingTransform || '');
@@ -240,7 +240,7 @@ module.exports = function transitionAxes(gd, newLayout, transitionOpts, makeOnCo
240240
.call(Drawing.setPointGroupScale, 1 / xScaleFactor, 1 / yScaleFactor);
241241

242242
subplot.plot.selectAll('.points').selectAll('g')
243-
.each(function () {
243+
.each(function() {
244244
var el = d3.select(this);
245245
var text = el.select('text');
246246
var x = parseFloat(text.attr('x'));
@@ -254,7 +254,7 @@ module.exports = function transitionAxes(gd, newLayout, transitionOpts, makeOnCo
254254
'translate(' + (-x) + ',' + (-y) + ')',
255255
];
256256

257-
if (existingTransform) {
257+
if(existingTransform) {
258258
transforms.push(existingTransform);
259259
}
260260

0 commit comments

Comments
 (0)