From c3e2b89eed53265ad960f53565d42cf589d94171 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Thu, 3 Jun 2021 16:57:02 +0200 Subject: [PATCH] add test --- test/test_axes.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_axes.jl b/test/test_axes.jl index d981d21a..3f2170cb 100644 --- a/test/test_axes.jl +++ b/test/test_axes.jl @@ -31,3 +31,8 @@ end @test xticks(p) == yticks(p) == zticks(p) == [ticks1, ticks2] @test xticks(p[1]) == yticks(p[1]) == zticks(p[1]) == ticks1 end + +@testset "Axis limits" begin + pl = plot(1:5, xlims=:symmetric, widen = false) + @test Plots.xlims(pl) == (-5, 5) +end