Update test/test_axes.jl

xlims != ylims

Co-authored-by: Simon Christ <SimonChrist@gmx.de>
This commit is contained in:
Fred Callaway 2021-06-07 11:15:50 -07:00 committed by GitHub
parent e9bdb32007
commit d5ff567e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)