From a7e5b552b2737ab216d71b54bcaaab6bade64672 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 19 Jul 2009 21:33:18 -0400 Subject: [PATCH] Fix two matplotlib deprecation warnings in logtool. --- bin/logtool | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/logtool b/bin/logtool index 84a5a55..010e408 100755 --- a/bin/logtool +++ b/bin/logtool @@ -189,8 +189,8 @@ following: from pylab import show, title, legend, axis, grid, savefig if options.legend_expr or options.legend_descr: from matplotlib.font_manager import FontProperties - legend(pad=0.04, prop=FontProperties(size=8), loc="best", - labelsep=0) + legend(borderpad=0.04, prop=FontProperties(size=8), loc="best", + labelspacing=0) def float_or_none(str): if str == "*": -- GitLab