diff --git a/tests/results/Benchmark-chart-with-load.png b/tests/results/Benchmark-chart-with-load.png index fffb8b8..de3ba2b 100644 Binary files a/tests/results/Benchmark-chart-with-load.png and b/tests/results/Benchmark-chart-with-load.png differ diff --git a/tests/results/Benchmark-chart.png b/tests/results/Benchmark-chart.png index d621728..5b74b7f 100644 Binary files a/tests/results/Benchmark-chart.png and b/tests/results/Benchmark-chart.png differ diff --git a/tests/results/istogramma_nfproxy.png b/tests/results/istogramma_nfproxy.png index a21f264..5bcf869 100644 Binary files a/tests/results/istogramma_nfproxy.png and b/tests/results/istogramma_nfproxy.png differ diff --git a/tests/results/istrogramma_compare.png b/tests/results/istrogramma_compare.png index effb105..da0801f 100644 Binary files a/tests/results/istrogramma_compare.png and b/tests/results/istrogramma_compare.png differ diff --git a/tests/results/whisker_compare.png b/tests/results/whisker_compare.png index 8f00fac..4845f48 100644 Binary files a/tests/results/whisker_compare.png and b/tests/results/whisker_compare.png differ diff --git a/tests/results/whisker_nfproxy.png b/tests/results/whisker_nfproxy.png index a85b3a3..c01db7b 100644 Binary files a/tests/results/whisker_nfproxy.png and b/tests/results/whisker_nfproxy.png differ diff --git a/tests/results_plotter.py b/tests/results_plotter.py index f4adf92..f7bce7a 100644 --- a/tests/results_plotter.py +++ b/tests/results_plotter.py @@ -7,6 +7,10 @@ from matplotlib import cm plt.style.use('fivethirtyeight') colors = cm.Set1.colors # Use a different strong color palette +plt.rcParams['figure.facecolor'] = 'white' +plt.rcParams['axes.edgecolor'] = 'white' +plt.rcParams['axes.linewidth'] = 1.5 +plt.rcParams['legend.facecolor'] = 'white' files = [ ("2.5.1 1T", "results/2.5.1-1T.csv"), @@ -28,6 +32,7 @@ for label, file in files: data_dict[label] = data fig, ax = plt.subplots() +ax.set_facecolor('white') for label in data_dict.keys(): data = data_dict[label] @@ -77,6 +82,7 @@ for label, file in files: data_dict[label] = data fig, ax = plt.subplots() +ax.set_facecolor('white') for label in data_dict.keys(): data = data_dict[label] @@ -140,6 +146,7 @@ for label, file in files_nfproxy: # Generate whisker plot for nfproxy fig, ax = plt.subplots() +ax.set_facecolor('white') y_max = max([max(data) for data in data_nfproxy.values()]) y_min = min([min(data) for data in data_nfproxy.values()]) @@ -174,6 +181,7 @@ plt.close() average_data = {label: np.mean(data) for label, data in data_nfproxy.items()} fig, ax = plt.subplots() +ax.set_facecolor('white') y_max = max(average_data.values()) bars = ax.bar( @@ -233,6 +241,7 @@ combined_data = {**data_nfproxy, **data_nfregex} # Generate whisker plot for combined data fig, ax = plt.subplots() +ax.set_facecolor('white') y_max = max([max(data) for data in combined_data.values()]) y_min = min([min(data) for data in combined_data.values()]) @@ -269,6 +278,7 @@ plt.close() average_combined_data = {label: np.mean(data) for label, data in combined_data.items()} fig, ax = plt.subplots() +ax.set_facecolor('white') y_max = max(average_combined_data.values()) bars = ax.bar(