10000 Linting · edkeeble/plotly.js@19ef6fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 19ef6fe

Browse files
committed
Linting
1 parent c7ca5fc commit 19ef6fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plots/cartesian/axes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
13821382
// positioning arguments for x vs y axes
13831383
if(axletter === 'x') {
13841384
sides = ['bottom', 'top'];
1385-
transfn = function(d){
1385+
transfn = function(d) {
13861386
return 'translate(' + ax.l2p(d.x) + ',0)';
13871387
};
13881388
// dumb templating with string concat
@@ -1392,7 +1392,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
13921392
}
13931393
else if(axletter === 'y') {
13941394
sides = ['left', 'right'];
1395-
transfn = function(d){
1395+
transfn = function(d) {
13961396
return 'translate(0,' + ax.l2p(d.x) + ')';
13971397
};
13981398
tickprefix = 'M';
@@ -1407,7 +1407,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
14071407
// then we flip if outside XOR y axis
14081408
ticksign = [-1, 1, axside === sides[1] ? 1 : -1];
14091409
if((ax.ticks !== 'inside') === (axletter === 'x')) {
1410-
ticksign = ticksign.map(function(v){ return -v; });
1410+
ticksign = ticksign.map(function(v) { return -v; });
14111411
}
14121412

14131413
// remove zero lines, grid lines, and inside ticks if they're within

0 commit comments

Comments
 (0)
0