fix 1.3 tests

This commit is contained in:
Simon Christ 2020-09-17 16:43:40 +02:00
parent eae40922fe
commit 021691d220

View File

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