Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreeve committed Nov 28, 2023
1 parent b11e8bc commit 4898355
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/traces/sankey/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ function sankeyModel(layout, d, traceIndex) {
var nodePad = trace.node.pad;
var nodeThickness = trace.node.thickness;
var nodeAlign = {
'justify': d3Sankey.sankeyJustify,
'left': d3Sankey.sankeyLeft,
'right': d3Sankey.sankeyRight,
'center': d3Sankey.sankeyCenter
justify: d3Sankey.sankeyJustify,
left: d3Sankey.sankeyLeft,
right: d3Sankey.sankeyRight,
center: d3Sankey.sankeyCenter
}[trace.node.align];

var width = layout.width * (domain.x[1] - domain.x[0]);
Expand Down

0 comments on commit 4898355

Please sign in to comment.