From fe26e05dfba7b6c4a3e28b2be6dc369426277790 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 7 Apr 2020 15:54:25 +0200 Subject: unify plotting code Now there is only a single plot function which takes a plot type as well as some plot and figure options. --- src/benchmarks/blowup.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/benchmarks/blowup.py') diff --git a/src/benchmarks/blowup.py b/src/benchmarks/blowup.py index 28692d6..a4e65ea 100644 --- a/src/benchmarks/blowup.py +++ b/src/benchmarks/blowup.py @@ -54,11 +54,14 @@ class BenchmarkBlowup(Benchmark): } } - plt.barplot_single_arg(self, - "{VmHWM}/1000", - ylabel="VmHWM in MB", - title="blowup test", - file_postfix="vmhwm") + plt.plot(self, + "{VmHWM}/1000", + plot_type='bar', + fig_options={ + 'ylabel': "VmHWM in MB", + 'title': "blowup test" + }, + file_postfix="vmhwm") plt.pgfplot(self, self.iterate_args(self.results["args"]), -- cgit v1.2.3