fill xs and ys as argument

This commit is contained in:
2023-02-03 00:53:19 +01:00
parent e4ada964e3
commit 23afec2aa4

View File

@ -20,15 +20,15 @@ for i in range(20):
exampledata = {}
for k, v in exampledata_raw.items():
pd = PlotDescription(
k,
# title=k,
for name, (xs, ys) in exampledata_raw.items():
exampledata[name] = PlotDescription(
name,
# title=name,
xlabel="x",
ylabel="y"
ylabel="y",
xs=xs,
ys=ys
)
pd.xs, pd.ys = v
exampledata[k] = pd