This commit is contained in:
fredcallaway 2021-06-07 11:16:06 -07:00
commit 23973e28f6

View File

@ -39,8 +39,8 @@ end
pl = plot(1:3) pl = plot(1:3)
@test Plots.xlims(pl) == Plots.widen(1,3) @test Plots.xlims(pl) == Plots.widen(1,3)
pl = plot(0.5:0.5:2.5, xlims=:round) pl = plot([1.05,2.0,2.95], ylims=:round)
@test Plots.xlims(pl) == (1, 3) @test Plots.ylims(pl) == (1, 3)
pl = plot(1:3, xlims=(1,5)) pl = plot(1:3, xlims=(1,5))
@test Plots.xlims(pl) == (1, 5) @test Plots.xlims(pl) == (1, 5)