fix 1.3 tests
This commit is contained in:
parent
eae40922fe
commit
021691d220
@ -9,7 +9,7 @@ using Plots, Test, Dates
|
|||||||
p = plot(x,y, widen = false)
|
p = plot(x,y, widen = false)
|
||||||
vspan!(p, rx, label="", alpha=0.2)
|
vspan!(p, rx, label="", alpha=0.2)
|
||||||
|
|
||||||
ref_ylims = (y[begin], y[end])
|
ref_ylims = (y[1], y[end])
|
||||||
ref_xlims = (x[1].instant.periods.value, x[end].instant.periods.value)
|
ref_xlims = (x[1].instant.periods.value, x[end].instant.periods.value)
|
||||||
@test Plots.ylims(p) == ref_ylims
|
@test Plots.ylims(p) == ref_ylims
|
||||||
@test Plots.xlims(p) == ref_xlims
|
@test Plots.xlims(p) == ref_xlims
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user