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

Skip to content

Commit fa7afed

Browse files
committed
lint leftovers from rebase
1 parent e183a98 commit fa7afed

File tree

4 files changed

+113
-113
lines changed

4 files changed

+113
-113
lines changed

src/components/legend/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -795,9 +795,9 @@ legend.repositionLegend = function(td, traces) {
795795
Plots.autoMargin(td,'legend',{
796796
x: opts.x,
797797
y: opts.y,
798-
l: opts.width * ({right:1, center:0.5}[xanchor] || 0),
799-
r: opts.width * ({left:1, center:0.5}[xanchor] || 0),
800-
b: opts.height * ({top:1, middle:0.5}[yanchor] || 0),
801-
t: opts.height * ({bottom:1, middle:0.5}[yanchor] || 0)
798+
l: opts.width * ({right: 1, center: 0.5}[xanchor] || 0),
799+
r: opts.width * ({left: 1, center: 0.5}[xanchor] || 0),
800+
b: opts.height * ({top: 1, middle: 0.5}[yanchor] || 0),
801+
t: opts.height * ({bottom: 1, middle: 0.5}[yanchor] || 0)
802802
});
803803
};

0 commit comments

Comments
 (0)