Pass plotitem to axis from cursor

epoch_index_backup
Tyler Goodlet 2022-11-14 17:06:18 -05:00
parent dc4a2c8c2b
commit 70b24795a6
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ class Cursor(pg.GraphicsObject):
hl.hide() hl.hide()
yl = YAxisLabel( yl = YAxisLabel(
chart=plot, pi=plot.plotItem,
# parent=plot.getAxis('right'), # parent=plot.getAxis('right'),
parent=plot.pi_overlay.get_axis(plot.plotItem, 'right'), parent=plot.pi_overlay.get_axis(plot.plotItem, 'right'),
digits=digits or self.digits, digits=digits or self.digits,