From 75be945359e1e953a4778c4a8bf310a2fa6aae3f Mon Sep 17 00:00:00 2001 From: Michael Krabbe Borregaard Date: Fri, 7 Dec 2018 08:12:41 +0100 Subject: [PATCH] Revert "MethodError -> ArgumentError" This reverts commit 6f821e534430dd0876c1c874bc32cb702b2b37d7. --- src/recipes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index 399b4851..5ae3cebf 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(ArgumentError("Unmatched plot recipe: $T")) +RecipesBase.apply_recipe(plotattributes::KW, ::Type{T}, plt::AbstractPlot) where {T} = throw(MethodError("Unmatched plot recipe: $T")) # ---------------------------------------------------------------------------