diff --git a/src/asammdf/gui/widgets/plot.py b/src/asammdf/gui/widgets/plot.py index b20e2520..f580cb32 100644 --- a/src/asammdf/gui/widgets/plot.py +++ b/src/asammdf/gui/widgets/plot.py @@ -2211,6 +2211,7 @@ def set_focused(item): for item in self.channel_selection.selectedItems(): set_focused(item) + self.plot.trim() self.plot.update() else: if update: @@ -2229,6 +2230,7 @@ def set_focused(item): iterator += 1 + self.plot.trim() self.plot.update() def channel_selection_item_changed(self, top_left, bottom_right, roles):