From: Jakob Cornell Date: Wed, 25 Dec 2019 18:17:59 +0000 (-0600) Subject: Move legend to bottom right of plot X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=8910b6edc1f7067eaa1f0f127e6beee8d1c19d41;p=tutoring-tool.git Move legend to bottom right of plot --- diff --git a/main.py b/main.py index c2f9e77..3e87b46 100644 --- a/main.py +++ b/main.py @@ -529,7 +529,7 @@ class Plotter: figure.add_axes(self.axes) def decorate(self): - self.axes.legend() + self.axes.legend(loc = 'lower right') self.axes.set_title("{} for {}".format(self.PLOT_TYPE, self.student_name)) self.axes.set_ylabel(self.Y_LABEL)