From d5ff567e80337c358f31aee7243ccf5ad55f387e Mon Sep 17 00:00:00 2001 From: Fred Callaway Date: Mon, 7 Jun 2021 11:15:50 -0700 Subject: [PATCH] Update test/test_axes.jl xlims != ylims Co-authored-by: Simon Christ --- test/test_axes.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_axes.jl b/test/test_axes.jl index f5bf5817..0c6bc0cd 100644 --- a/test/test_axes.jl +++ b/test/test_axes.jl @@ -39,8 +39,8 @@ end pl = plot(1:3) @test Plots.xlims(pl) == Plots.widen(1,3) - pl = plot(0.5:0.5:2.5, xlims=:round) - @test Plots.xlims(pl) == (1, 3) + pl = plot([1.05,2.0,2.95], ylims=:round) + @test Plots.ylims(pl) == (1, 3) pl = plot(1:3, xlims=(1,5)) @test Plots.xlims(pl) == (1, 5)