diff --git a/gpx2html/__init__.py b/gpx2html/__init__.py index f890f95..ebc3c49 100755 --- a/gpx2html/__init__.py +++ b/gpx2html/__init__.py @@ -159,7 +159,7 @@ class Gpx2Html(object): accumulated_distance[year] = acc_year_dist plot_line_chart(accumulated_distance, MONTH_LABELS, - "Accumulated Distance", 'Month', 'km', + "Accumulated Distance", 'Month', 'km/year', os.path.join(self.outfolder, 'acc_dist.png')) # Expected year distance: @@ -178,9 +178,9 @@ class Gpx2Html(object): exp_year_dist.append(expexted_distance) xyz = dict() xyz['driven'] = acc_year_dist - xyz['expected'] = exp_year_dist + xyz['expected @ year end'] = exp_year_dist plot_line_chart(xyz, MONTH_LABELS[:now.month], "Distance", 'Month', - 'km', os.path.join(self.outfolder, 'exp_dist.png')) + 'km/year', os.path.join(self.outfolder, 'exp_dist.png')) end_date = datetime.datetime.today()