10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-23 03:07:44 +02:00

Merge branch 'master' into ADC

This commit is contained in:
Mickaël Véril 2020-09-16 10:01:59 +02:00
commit 9b17b8c41c
2 changed files with 6 additions and 6 deletions

View File

@ -364,7 +364,7 @@ draft: false
var box = {
x: noNanVals,
amean: ss.mean(avals).toFixed(3),
name: key.toString() + " MAD : " + ss.mean(avals).toPrecision(4),
name: `${key.toString()} MAE : ${ss.mean(avals).toPrecision(4)} eV` ,
type: 'box',
boxmean: 'sd'
};
@ -379,19 +379,19 @@ draft: false
},
xaxis: {
title: {
text: 'Energy (eV)',
text: 'Error (eV)',
}
},
bgcolor: '#E2E2E2',
bordercolor: '#FFFFFF',
borderwidth: 2,
// autosize: false,
width: 850,
height: 500,
width: 1275,
height: 750,
margin: {
l: 0,
r: 10,
b: 15,
// b: 15,
t: 20,
pad: 0,
},

View File

@ -238,7 +238,7 @@ class code:
@staticmethod
def fromString(string):
vals = string.split(",")
return method(*vals)
return code(*vals)
def toDataString(self):
string=self.name