Skip to content

Commit 377ce62

Browse files
authored
tilt the xticks to appear more readable
1 parent 4cbcc21 commit 377ce62

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

ext/MakieExt/allocs.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function PerfChecker.checkres_to_scatterlines(
8181
diff += step
8282
end
8383
ax.title = x.pkgs[1].name
84+
ax.xticklabelrotation = 45.0
8485
Legend(f[1, 2], ax)
8586
return f
8687
end

ext/MakieExt/bench.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ function PerfChecker.checkres_to_boxplots(
6767
ax.ylabel = string(kwarg)
6868
boxplot!(datax, datay, label = string(kwarg))
6969
ax.title = x.pkgs[1].name
70+
ax.xticklabelrotation = 45.0
7071
f[1, 2] = Legend(f, ax)
7172
return f
7273
end

ext/MakieExt/chair.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ function PerfChecker.checkres_to_scatterlines(
4343
ax.xlabel = "versions"
4444
ax.ylabel = "ratio"
4545
ax.title = "Evolution for $(x.pkgs[1].name) (via Chairmarks.jl)"
46+
ax.xticklabelrotation = 45.0
4647
f[1, 2] = Legend(f, ax)
4748
return f
4849
end
@@ -68,6 +69,7 @@ function PerfChecker.checkres_to_boxplots(
6869
ax.ylabel = string(kwarg)
6970
boxplot!(datax, datay, label = string(kwarg))
7071
ax.title = x.pkgs[1].name
72+
ax.xticklabelrotation = 45.0
7173
f[1, 2] = Legend(f, ax)
7274
return f
7375
end

0 commit comments

Comments
 (0)