blob: f68b540236e7e8235ec27e07411fdd9f65b81a60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
%% py
from js import data_object
import matplotlib.pyplot as plt
plt.figure()
for element in data_object:
data_array = element["data"]
x = [x["xaxis"] for x in data_array]
y = [x["value"] for x in data_array]
label = element["name"]+"\n"+element["subtest"]
plt.scatter(x,y,label=label)
plt.legend()
plt.show()
|