Site
Gitweb
Static
projects
/
tutoring-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98791cb
)
Move legend to bottom right of plot
author
Jakob Cornell
<jakob@jcornell.net>
Wed, 25 Dec 2019 18:17:59 +0000
(12:17 -0600)
committer
Jakob Cornell
<jakob@jcornell.net>
Wed, 25 Dec 2019 18:17:59 +0000
(12:17 -0600)
main.py
patch
|
blob
|
history
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)