Skip to content

Commit 44060db

Browse files
committed
fix annotation calc_autorange change
need to filter out (x|y)ref='paper'
1 parent 2aa1545 commit 44060db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/annotations/calc_autorange.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = function calcAutorange(gd) {
2929

3030
for(var axId in annotationAxes) {
3131
var ax = Axes.getFromId(gd, axId);
32-
if(ax.autorange) {
32+
if(ax && ax.autorange) {
3333
return Lib.syncOrAsync([
3434
draw,
3535
annAutorange

0 commit comments

Comments
 (0)