diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-04-07 15:54:25 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-04-07 15:54:25 +0200 |
| commit | fe26e05dfba7b6c4a3e28b2be6dc369426277790 (patch) | |
| tree | e724a1264ea3e1f07f327d6d27e0c5afafa09d23 /src/benchmarks/blowup.py | |
| parent | 57d94cd47a4a5c187aed2245b0f213ba520f2405 (diff) | |
| download | allocbench-fe26e05dfba7b6c4a3e28b2be6dc369426277790.tar.gz allocbench-fe26e05dfba7b6c4a3e28b2be6dc369426277790.zip | |
unify plotting code
Now there is only a single plot function which takes a plot type as
well as some plot and figure options.
Diffstat (limited to 'src/benchmarks/blowup.py')
| -rw-r--r-- | src/benchmarks/blowup.py | 13 |
1 files changed, 8 insertions, 5 deletions
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"]), |
