Auto-format Python scripts

This commit is contained in:
sharkdp committed 2020-04-01 09:35:09 +02:00
1 parent a870d4db3d
commit 8fff8643e0
5 files changed
+23 -17

No files matched your search

+8 -6
View File
@@ -18,12 +18,14 @@ with open(args.file) as f:
commands = [b["command"] for b in results]
all_times = [b["times"] for b in results]
plt.hist(all_times,
label=commands,
bins="auto",
histtype="bar",
range=(np.min(all_times), np.max(all_times)))
plt.legend(prop={'family': ['Source Code Pro', 'Fira Mono', 'Courier New']})
plt.hist(
all_times,
label=commands,
bins="auto",
histtype="bar",
range=(np.min(all_times), np.max(all_times)),
)
plt.legend(prop={"family": ["Source Code Pro", "Fira Mono", "Courier New"]})
plt.xlabel("Time [s]")
if args.title: