move abstract types and make PlotRecipe on abstract type

This commit is contained in:
ChrisRackauckas 2017-05-01 06:27:37 -07:00
parent 4770f8b580
commit ac505ede44
2 changed files with 1 additions and 5 deletions

View File

@ -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"))
# ---------------------------------------------------------------------------

View File

@ -8,10 +8,6 @@ const KW = Dict{Symbol,Any}
immutable PlotsDisplay <: Display end
abstract type AbstractBackend end
abstract type AbstractPlot{T<:AbstractBackend} end
abstract type AbstractLayout end
# -----------------------------------------------------------
immutable InputWrapper{T}