Skip to content

Commit 6e19c6e

Browse files
committed
remove unused '_' fields in annotations full items
1 parent a8fb653 commit 6e19c6e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/components/annotations/draw.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,6 @@ function drawRaw(gd, options, index, subplotId, xa, ya) {
250250
var outerWidth = Math.round(annWidth + 2 * borderfull);
251251
var outerHeight = Math.round(annHeight + 2 * borderfull);
252252

253-
254-
// save size in the annotation object for use by autoscale
255-
options._w = annWidth;
256-
options._h = annHeight;
257-
258253
function shiftFraction(v, anchor) {
259254
if(anchor === 'auto') {
260255
if(v < 1 / 3) anchor = 'left';

0 commit comments

Comments
 (0)