Removed warning

This commit is contained in:
Nicholas Bauer 2021-03-18 16:03:15 -04:00 committed by GitHub
parent 0ed2ca7c47
commit c9189432bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ const _allTypes = vcat([
:none, :line, :path, :steppre, :steppost, :sticks, :scatter, :none, :line, :path, :steppre, :steppost, :sticks, :scatter,
:heatmap, :hexbin, :barbins, :barhist, :histogram, :scatterbins, :heatmap, :hexbin, :barbins, :barhist, :histogram, :scatterbins,
:scatterhist, :stepbins, :stephist, :bins2d, :histogram2d, :histogram3d, :scatterhist, :stepbins, :stephist, :bins2d, :histogram2d, :histogram3d,
:density, :bar, :hline, :vline, :bar, :hline, :vline,
:contour, :pie, :shape, :image :contour, :pie, :shape, :image
], _3dTypes) ], _3dTypes)
@ -1172,11 +1172,6 @@ function RecipesPipeline.preprocess_attributes!(plotattributes::AKW)
plotattributes[:framestyle] = _framestyleAliases[plotattributes[:framestyle]] plotattributes[:framestyle] = _framestyleAliases[plotattributes[:framestyle]]
end end
# warnings for moved recipes
st = get(plotattributes, :seriestype, :path)
if st in (:boxplot, :violin, :density) && !isdefined(Main, :StatsPlots)
@warn("seriestype $st has been moved to StatsPlots. To use: \`Pkg.add(\"StatsPlots\"); using StatsPlots\`")
end
return return
end end