From 2e3e755f129c797c83e802fcea4c34da033f7a75 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sat, 23 Dec 2023 21:58:29 +0100 Subject: [PATCH] add regresson test --- ReferenceTests/src/tests/examples2d.jl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ReferenceTests/src/tests/examples2d.jl b/ReferenceTests/src/tests/examples2d.jl index 8cc85e7e075..735be7bb507 100644 --- a/ReferenceTests/src/tests/examples2d.jl +++ b/ReferenceTests/src/tests/examples2d.jl @@ -1354,7 +1354,7 @@ function ppu_test_plot(resolution, px_per_unit, scalefactor) fig, ax, pl = scatter(1:4, markersize=100, color=1:4, figure=(; size=resolution), axis=(; titlesize=50, title="ppu: $px_per_unit, sf: $scalefactor")) DataInspector(ax) hidedecorations!(ax) - return fig + fig end @reference_test "px_per_unit and scalefactor" begin @@ -1373,3 +1373,10 @@ end st end end + +@reference_test "spurious minor tick (#3487)" begin + fig = Figure(size=(227, 170)) + ax = Axis(fig[1, 1]; yticks = 0:.2:1, yminorticksvisible = true) + ylims!(ax, 0, 1) + fig +end