From 5d6a470ce0c7d334205293de9b596a5ea4eb2e8c Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 11 Feb 2020 14:22:07 +0100 Subject: cleanup plot code * use str.format instead of eval for plot labels * use meaningful variable names * add license header * add some doc strings --- src/benchmarks/blowup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmarks/blowup.py') diff --git a/src/benchmarks/blowup.py b/src/benchmarks/blowup.py index 8f8e550..d3700e3 100644 --- a/src/benchmarks/blowup.py +++ b/src/benchmarks/blowup.py @@ -56,8 +56,8 @@ class BenchmarkBlowup(Benchmark): plt.barplot_single_arg(self, "{VmHWM}/1000", - ylabel='"VmHWM in MB"', - title='"blowup test"', + ylabel="VmHWM in MB", + title="blowup test", filepostfix="vmhwm") del allocators["Ideal-RSS"] -- cgit v1.2.3