We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0038d commit 83482fbCopy full SHA for 83482fb
src/components/annotations/calc_autorange.js
@@ -45,7 +45,7 @@ function annAutorange(gd) {
45
// relative to their anchor points
46
// use the arrow and the text bg rectangle,
47
// as the whole anno may include hidden text in its bbox
48
- fullLayout.annotations.forEach(function(ann) {
+ Lib.filterVisible(fullLayout.annotations).forEach(function(ann) {
49
var xa = Axes.getFromId(gd, ann.xref),
50
ya = Axes.getFromId(gd, ann.yref),
51
headSize = 3 * ann.arrowsize * ann.arrowwidth || 0;
0 commit comments