fix: поправил автомасштабирование графиков

This commit is contained in:
Андрей Скирченко 2024-11-01 22:53:31 +03:00
parent 8d71f8ffc0
commit 059f4b5533

View File

@ -131,8 +131,8 @@ class PlotWindow:
[self.idealPhase0, self.idealPhase1],
[self.idealPhase1, self.idealPhase2],
[self.idealPhase2, self.idealPhase3]]
y01 = [100000000000, 100000000000]
y0_1 = [-100000000000, -100000000000]
y01 = [10000, 10000]
y0_1 = [-10000, -10000]
for i, _ in enumerate(x):
a01 = pg.PlotDataItem(_, y01, pen=pg.mkPen(color=qts.colors[8], width=2), name=' ')
a0_1 = pg.PlotDataItem(_, y0_1, pen=pg.mkPen(color=qts.colors[8], width=2), name=' ')