From 9d5ce9753a35e5d3a2642e60b509fa61c99a3875 Mon Sep 17 00:00:00 2001 From: Nicholas Bauer Date: Sun, 3 Feb 2019 14:19:32 -0500 Subject: [PATCH] Fixed MethodError --- src/recipes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index ff3090c0..37982a3d 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -47,7 +47,7 @@ end num_series(x::AMat) = size(x,2) num_series(x) = 1 -RecipesBase.apply_recipe(plotattributes::KW, ::Type{T}, plt::AbstractPlot) where {T} = throw(MethodError("Unmatched plot recipe: $T")) +RecipesBase.apply_recipe(plotattributes::KW, ::Type{T}, plt::AbstractPlot) where {T} = throw(MethodError(T, "Unmatched plot recipe: $T")) # ---------------------------------------------------------------------------