From 0d84851f8e4e4fb51f5ddf95d5f71510641d301e Mon Sep 17 00:00:00 2001 From: ChrisRackauckas Date: Mon, 1 May 2017 06:27:37 -0700 Subject: [PATCH] move abstract types and make PlotRecipe on abstract type --- src/recipes.jl | 2 +- src/types.jl | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/recipes.jl b/src/recipes.jl index 5205926b..e30b5819 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{T}(d::KW, ::Type{T}, plt::Plot) = throw(MethodError("Unmatched plot recipe: $T")) +RecipesBase.apply_recipe{T}(d::KW, ::Type{T}, plt::AbstractPlot) = throw(MethodError("Unmatched plot recipe: $T")) # --------------------------------------------------------------------------- diff --git a/src/types.jl b/src/types.jl index 0f1e4909..811cea70 100644 --- a/src/types.jl +++ b/src/types.jl @@ -8,10 +8,6 @@ typealias KW Dict{Symbol,Any} immutable PlotsDisplay <: Display end -abstract AbstractBackend -abstract AbstractPlot{T<:AbstractBackend} -abstract AbstractLayout - # ----------------------------------------------------------- immutable InputWrapper{T}