diff --git a/mdsynthesis/core/aggregators.py b/mdsynthesis/core/aggregators.py index 1811a0d..a01e650 100644 --- a/mdsynthesis/core/aggregators.py +++ b/mdsynthesis/core/aggregators.py @@ -737,6 +737,19 @@ class Data(Aggregator): def __repr__(self): return "".format(self.list()) + def _repr_html_(self): + data = self.list() + agg = "Data" + if not data: + out = "No Data" + else: + out = "

{}

".format(agg) + out = out + "" + return out + def __str__(self): data = self.list() agg = "Data"