From 2d8f9dcc78d8d271304293813e58e4791dbef18c Mon Sep 17 00:00:00 2001 From: gimick Date: Sun, 8 Aug 2010 22:48:08 +0100 Subject: [PATCH] GRAPH: Put legend in "best" position, not fixed in top left. --- pyfpdb/GuiGraphViewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/GuiGraphViewer.py b/pyfpdb/GuiGraphViewer.py index 96026864..e1a719ba 100644 --- a/pyfpdb/GuiGraphViewer.py +++ b/pyfpdb/GuiGraphViewer.py @@ -232,7 +232,7 @@ class GuiGraphViewer (threading.Thread): if sys.version[0:3] == '2.5': self.ax.legend(loc='upper left', shadow=True, prop=FontProperties(size='smaller')) else: - self.ax.legend(loc='upper left', fancybox=True, shadow=True, prop=FontProperties(size='smaller')) + self.ax.legend(loc='best', fancybox=True, shadow=True, prop=FontProperties(size='smaller')) self.graphBox.add(self.canvas) self.canvas.show()