move abstract types and make PlotRecipe on abstract type
This commit is contained in:
parent
4770f8b580
commit
ac505ede44
@ -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"))
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@ -8,10 +8,6 @@ const KW = Dict{Symbol,Any}
|
|||||||
|
|
||||||
immutable PlotsDisplay <: Display end
|
immutable PlotsDisplay <: Display end
|
||||||
|
|
||||||
abstract type AbstractBackend end
|
|
||||||
abstract type AbstractPlot{T<:AbstractBackend} end
|
|
||||||
abstract type AbstractLayout end
|
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
|
|
||||||
immutable InputWrapper{T}
|
immutable InputWrapper{T}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user