remove density from like_histogram

This commit is contained in:
Michael K. Borregaard 2017-03-10 23:53:00 +01:00
parent 124f1fe701
commit fb2e12089f

View File

@ -77,7 +77,7 @@ const _typeAliases = Dict{Symbol,Symbol}(
add_non_underscore_aliases!(_typeAliases)
like_histogram(seriestype::Symbol) = seriestype in (:histogram, :density)
like_histogram(seriestype::Symbol) = seriestype == :histogram
like_line(seriestype::Symbol) = seriestype in (:line, :path, :steppre, :steppost)
like_surface(seriestype::Symbol) = seriestype in (:contour, :contourf, :contour3d, :heatmap, :surface, :wireframe, :image)