diff --git a/src/pygenomeviz/track/feature.py b/src/pygenomeviz/track/feature.py index cdab579..febf0e5 100644 --- a/src/pygenomeviz/track/feature.py +++ b/src/pygenomeviz/track/feature.py @@ -726,7 +726,7 @@ def _plot_segment_sep(self) -> None: """Plot break symbol for each segment""" if len(self._segment_sep_text_kws_list) == 0: return - pos = 0 + pos = self.offset for idx, space in enumerate(self.spaces): target_pos = pos + self.segments[idx].size + (space / 2) seg_sep_text_kws = self._segment_sep_text_kws_list[idx]