Skip to content

Commit 8025725

Browse files
committed
Remove unnecessary transform
1 parent 4da9405 commit 8025725

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/annotations/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,7 @@ annotations.draw = function(gd, index, opt, value) {
345345
.classed('annotation-text-g', true)
346346
.attr('data-index', String(index));
347347

348-
var ann = anng.append('g')
349-
.attr('transform', 'translate(0,0)');
348+
var ann = anng.append('g');
350349

351350
var borderwidth = options.borderwidth,
352351
borderpad = options.borderpad,

0 commit comments

Comments
 (0)