diff --git a/benchmark/benchmark/plot.py b/benchmark/benchmark/plot.py index fcb74c57..e5b2ce43 100644 --- a/benchmark/benchmark/plot.py +++ b/benchmark/benchmark/plot.py @@ -94,7 +94,7 @@ def _plot(self, x_label, y_label, y_axis, z_axis, type): linestyle='dotted', marker=next(markers), capsize=3 ) - plt.legend(loc='lower center', bbox_to_anchor=(0.5, 1), ncol=2) + plt.legend(loc='lower center', bbox_to_anchor=(0.5, 1), ncol=3) plt.xlim(xmin=0) plt.ylim(bottom=0) plt.xlabel(x_label, fontweight='bold') @@ -144,7 +144,7 @@ def plot_latency(cls, files, scalability): assert all(isinstance(x, str) for x in files) z_axis = cls.workers if scalability else cls.nodes x_label = 'Throughput (tx/s)' - y_label = ['Latency (ms)'] + y_label = ['Latency (s)'] ploter = cls(files) ploter._plot(x_label, y_label, ploter._latency, z_axis, 'latency')