Update test/test_axes.jl
xlims != ylims Co-authored-by: Simon Christ <SimonChrist@gmx.de>
This commit is contained in:
parent
e9bdb32007
commit
d5ff567e80
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user