diff --git a/content/dataset.html b/content/dataset.html
index 45a93c1c..fc5c1408 100644
--- a/content/dataset.html
+++ b/content/dataset.html
@@ -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,
},
diff --git a/tools/lib/data.py b/tools/lib/data.py
index 6273d7f6..0bc9ea08 100644
--- a/tools/lib/data.py
+++ b/tools/lib/data.py
@@ -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