Revert "GRAPH: Put legend in "best" position, not fixed in top left."

previous consensus that I wasn't aware was to have the old setting, since "best" is
only better in some cases so I'm reverting this
This reverts commit 2d8f9dcc78.
This commit is contained in:
steffen123 2010-08-10 20:50:19 +02:00
parent f0ef6e7e8b
commit d7a7cca2ab

View File

@ -232,7 +232,7 @@ class GuiGraphViewer (threading.Thread):
if sys.version[0:3] == '2.5': if sys.version[0:3] == '2.5':
self.ax.legend(loc='upper left', shadow=True, prop=FontProperties(size='smaller')) self.ax.legend(loc='upper left', shadow=True, prop=FontProperties(size='smaller'))
else: else:
self.ax.legend(loc='best', fancybox=True, shadow=True, prop=FontProperties(size='smaller')) self.ax.legend(loc='upper left', fancybox=True, shadow=True, prop=FontProperties(size='smaller'))
self.graphBox.add(self.canvas) self.graphBox.add(self.canvas)
self.canvas.show() self.canvas.show()