diff --git a/src/timing_profile.py b/src/timing_profile.py index b8c00d5a77d1c7ff4efd95432ec7ff1cf6022f78..4dff4b14f88f3dd66c854c98788af49ba674a225 100644 --- a/src/timing_profile.py +++ b/src/timing_profile.py @@ -48,8 +48,8 @@ for k in res: fig, ax = plt.subplots(num=10, clear=True) for k in res: mu, ci = bs_mean_ci(res[k]) - ax.loglog(N, mu, label=k) - ax.fill_between(N, ci[:, 0], ci[:, 1], alpha=0.2) + ax.loglog(N, mu * 1e9, label=k) + ax.fill_between(N, ci[:, 0] * 1e9, ci[:, 1] * 1e9, alpha=0.2) ax.legend(frameon=False) ax.set_xlabel("N") ax.set_ylabel("Time (ns)")