Merge pull request #727 from mkborregaard/fix-linecolor-for-density

remove density from like_histogram
This commit is contained in:
Michael Krabbe Borregaard 2017-03-10 23:53:49 +01:00 committed by GitHub
commit 0732006d5a

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)