diff --git a/test/plots.jl b/test/plots.jl index a23a1f26..c42b6df6 100644 --- a/test/plots.jl +++ b/test/plots.jl @@ -25,3 +25,11 @@ rec = RecipesBase.apply_recipe(Dict{Symbol, Any}(), x, value.(y)) rec = RecipesBase.apply_recipe(Dict{Symbol, Any}(), value.(x), y) @test getfield(rec[1], 1) == Dict{Symbol, Any}(:yerror => uncertainty.(y)) @test rec[1].args == (value.(x), value.(y)) + +rec = RecipesBase.apply_recipe(Dict{Symbol, Any}(), value.(y); uncertainty_plot = :ribbon) +@test getfield(rec[1], 1) == Dict{Symbol, Any}(:ribbon => uncertainty.(y)) +@test rec[1].args == (value.(x), value.(y)) + +rec = RecipesBase.apply_recipe(Dict{Symbol, Any}(), x, value.(y); uncertainty_plot = :ribbon) +@test getfield(rec[1], 1) == Dict{Symbol, Any}(:ribbon => uncertainty.(y)) +@test rec[1].args == (value.(x), value.(y))