1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-05-09 00:02:10 +02:00

fix(plot_indicators): plot indicators added to the PlotBase

This commit is contained in:
2025-03-21 11:12:22 +01:00
parent 4e29291b3a
commit 42e3b9c137
3 changed files with 119 additions and 115 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ class BECArrowItem(BECIndicatorItem):
def __init__(self, plot_item: pg.PlotItem = None, parent=None):
super().__init__(plot_item=plot_item, parent=parent)
self.arrow_item = pg.ArrowItem(parent=parent)
self.arrow_item = pg.ArrowItem()
self.arrow_item.skip_auto_range = True
self._pos = (0, 0)
self.arrow_item.setVisible(False)