Move legend to bottom right of plot
authorJakob Cornell <jakob@jcornell.net>
Wed, 25 Dec 2019 18:17:59 +0000 (12:17 -0600)
committerJakob Cornell <jakob@jcornell.net>
Wed, 25 Dec 2019 18:17:59 +0000 (12:17 -0600)
main.py

diff --git a/main.py b/main.py
index c2f9e77fbfa1a7ff51a45c6bdafcf11c642dcf9c..3e87b46bee333c3cb556b1488f9ebdf61de30afb 100644 (file)
--- 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)