Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cddba4e

Browse files
author
John Soklaski
committed
Some more formatting fixups for lint
1 parent ba01b79 commit cddba4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plots/cartesian/graph_interact.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function hover(gd, evt, subplot) {
319319
subplot :
320320
// list of all overlaid subplots to look at
321321
[subplot].concat(plotinfo.overlays
322-
.map(function(pi){ return pi.id; })),
322+
.map(function(pi) { return pi.id; })),
323323

324324
xaArray = subplots.map(function(spId) {
325325
return Plotly.Axes.getFromId(gd, spId, 'x');
@@ -876,7 +876,7 @@ function createHoverText(hoverData, opts) {
876876

877877
// first create the objects
878878
var hoverLabels = container.selectAll('g.hovertext')
879-
.data(hoverData,function(d){
879+
.data(hoverData,function(d) {
880880
return [d.trace.index,d.index,d.x0,d.y0,d.name,d.attr,d.xa,d.ya ||''].join(',');
881881
});
882882
hoverLabels.enter().append('g')
@@ -1050,7 +1050,7 @@ function hoverAvoidOverlaps(hoverData, ax) {
10501050

10511051
// make groups of touching points
10521052
pointgroups = hoverData
1053-
.map(function(d,i){
1053+
.map(function(d,i) {
10541054
var axis = d[ax];
10551055
return [{
10561056
i: i,

0 commit comments

Comments
 (0)