From 0e467466b1171f162948e9aaa369c6117d915e05 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Mar 2020 19:14:54 +0100 Subject: improve matplotlib code add new helper functions to get all y_values for a plot use seperate figures for each plot s/filepostfix/file_postfix/ to be consistent --- src/benchmarks/redis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmarks/redis.py') diff --git a/src/benchmarks/redis.py b/src/benchmarks/redis.py index 71d9227..cfad489 100644 --- a/src/benchmarks/redis.py +++ b/src/benchmarks/redis.py @@ -84,12 +84,12 @@ class BenchmarkRedis(Benchmark): plt.barplot_single_arg(self, "{requests}", ylabel='"requests per s"', title='"redis throughput"', - filepostfix="requests") + file_postfix="requests") plt.barplot_single_arg(self, "{redis_vmhwm}", ylabel='"VmHWM in KB"', title='"redis memusage"', - filepostfix="vmhwm") + file_postfix="vmhwm") plt.export_stats_to_dataref(self, "requests") -- cgit v1.2.3