def METHOD_NAME(self):
    if self.canvas is not None:
        boff = self.canvas.bounds_offset
        self.plot_overlay.offset = (
            boff[0],
            boff[1] + self.y - self.container.y + self.height / 2,
        )
    self.plot_overlay.do_layout()