Revert "MethodError -> ArgumentError"

This reverts commit 6f821e534430dd0876c1c874bc32cb702b2b37d7.
This commit is contained in:
Michael Krabbe Borregaard 2018-12-07 08:12:41 +01:00
parent fe50a457cd
commit 75be945359

View File

@ -47,7 +47,7 @@ end
num_series(x::AMat) = size(x,2) num_series(x::AMat) = size(x,2)
num_series(x) = 1 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"))
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------