diff --git a/tabbycat/utils/tables.py b/tabbycat/utils/tables.py index 9a817c8a7ab..96f0d2295f5 100644 --- a/tabbycat/utils/tables.py +++ b/tabbycat/utils/tables.py @@ -833,7 +833,10 @@ def add_metric_columns(self, standings, integer_score_columns=[]): sort = float(metric) except (TypeError, ValueError): sort = 99999 - row.append({'text': metricformat(metric), 'sort': sort}) + cell = {'text': metricformat(metric), 'sort': sort} + if isinstance(metric, float): + cell['tooltip'] = str(metric) + row.append(cell) data.append(row) self.add_columns(headers, data)