This commit is contained in:
Paul Gauthier 2023-06-30 19:27:57 -07:00
parent 674bfb52c6
commit 8a0909738d

View file

@ -111,14 +111,16 @@ def show_stats(dirnames):
for i, fmt in enumerate(formats): for i, fmt in enumerate(formats):
if zorder: if zorder:
edge = dict( edge = dict(
edgecolor="#444444", edgecolor="#eeeeee",
linewidth=0.25, linewidth=0.25,
) )
else:
edge = dict()
if zorder == 2: if zorder == 2:
edge["label"] = fmt edge["label"] = fmt
color = "#b3e6a8" if "diff" in fmt else "#b3d1e6" color = "#b3e6a8" if "diff" in fmt else "#b3d1e6"
hatch = "///" if "func" in fmt else "" hatch = "**" if "func" in fmt else ""
rects = ax.bar( rects = ax.bar(
pos + i * width, pos + i * width,
df[fmt], df[fmt],