Skip to content

Commit 21f5cc9

Browse files
committed
Remove unnecessary transform
1 parent 787c903 commit 21f5cc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/annotations/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,7 @@ annotations.draw = function(gd, index, opt, value) {
343343
.classed('annotation-text-g', true)
344344
.attr('data-index', String(index));
345345

346-
var ann = anng.append('g')
347-
.attr('transform', 'translate(0,0)');
346+
var ann = anng.append('g');
348347

349348
var borderwidth = options.borderwidth,
350349
borderpad = options.borderpad,

0 commit comments

Comments
 (0)