move abstract types and make PlotRecipe on abstract type

This commit is contained in:
ChrisRackauckas 2017-05-01 06:27:37 -07:00
parent f91249910c
commit 0d84851f8e
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::AMat) = size(x,2)
num_series(x) = 1 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 @@ typealias KW Dict{Symbol,Any}
immutable PlotsDisplay <: Display end immutable PlotsDisplay <: Display end
abstract AbstractBackend
abstract AbstractPlot{T<:AbstractBackend}
abstract AbstractLayout
# ----------------------------------------------------------- # -----------------------------------------------------------
immutable InputWrapper{T} immutable InputWrapper{T}