From ae0f3118f4b4a4176209fbbf6c24a912613841db Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 14 Nov 2022 17:06:18 -0500 Subject: [PATCH] Pass plotitem to axis from cursor --- piker/ui/_cursor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/ui/_cursor.py b/piker/ui/_cursor.py index a27aca8c..fd00c380 100644 --- a/piker/ui/_cursor.py +++ b/piker/ui/_cursor.py @@ -418,7 +418,7 @@ class Cursor(pg.GraphicsObject): hl.hide() yl = YAxisLabel( - chart=plot, + pi=plot.plotItem, # parent=plot.getAxis('right'), parent=plot.pi_overlay.get_axis(plot.plotItem, 'right'), digits=digits or self.digits,