made it a bit more generic; naming

This commit is contained in:
2022-12-19 13:12:08 +01:00
parent 48e0c35c4f
commit ba331cf6f6
2 changed files with 8 additions and 3 deletions
+5
View File
@@ -12,6 +12,11 @@ class PlotDescription:
self.style = pg_plot_style()
@property
def data(self):
return (self.xs, self.ys)
def append(self, xy):
x, y = xy
self.xs.append(x)