2
0
forked from awendt/pyrelacs

[ui/plot] updating plot

This commit is contained in:
wendtalexander
2024-10-21 10:29:38 +02:00
parent e36db5e7b0
commit e4e86cbc49
2 changed files with 3 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ class Continously:
self.last_plotted_index,
extend=self.CHUNK_PLOT,
)
self.time = np.concatenate((self.time, times))[-self.PLOT_HISTORY :]
self.data = np.concatenate((self.data, items))[-self.PLOT_HISTORY :]
self.line.setData(