Merge pull request #824 from daschw/ds-0.5-compat

Fix precompilation on 0.5: Fixes #823
This commit is contained in:
Michael Krabbe Borregaard 2017-05-14 22:23:08 +02:00 committed by GitHub
commit ee9d78b190

View File

@ -6,7 +6,7 @@
# This should cut down on boilerplate code and allow more focused dispatch on type
# note: returns meta information... mainly for use with automatic labeling from DataFrames for now
const FuncOrFuncs{F} = Union{F, Vector{F}, Matrix{F}}
typealias FuncOrFuncs{F} Union{F, Vector{F}, Matrix{F}}
all3D(d::KW) = trueOrAllTrue(st -> st in (:contour, :contourf, :heatmap, :surface, :wireframe, :contour3d, :image), get(d, :seriestype, :none))