Fix arrow clipping in plots in complex layouts
@@ -83,7 +83,7 @@ export class ArrowView extends AnnotationView {
// Next we call .clip on all the arrow heads, inside an initial canvas sized
// rect, to create an "inverted" clip region for the arrow heads
ctx.beginPath()
- const {x, y, width, height} = this.plot_view.layout.bbox
+ const {x, y, width, height} = this.plot_view.frame.bbox
ctx.rect(x, y, width, height)
if (this.model.end != null)
this._arrow_head(ctx, "clip", this.model.end, start, end)
