From a7ccc1e408d9f4b49ba0e3d8dc5289ef50d9f9c4 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Tue, 24 Nov 2020 17:46:06 +0100 Subject: [PATCH] legend position --- rowers/interactiveplots.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 525c09b8..6e614247 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -1690,6 +1690,8 @@ def fitnessfit_chart(workouts,user,workoutmode='water',startdate=None, plot.xaxis.axis_label = 'Date' plot.yaxis.axis_label = 'Power (W)' + plot.legend.location = "top_left" + plot.xaxis.formatter = DatetimeTickFormatter( days=["%d %B %Y"], months=["%d %B %Y"],