diff --git a/src/args.jl b/src/args.jl index 3a3c963c3..bda497789 100644 --- a/src/args.jl +++ b/src/args.jl @@ -57,7 +57,7 @@ const _allTypes = vcat([ :none, :line, :path, :steppre, :steppost, :sticks, :scatter, :heatmap, :hexbin, :barbins, :barhist, :histogram, :scatterbins, :scatterhist, :stepbins, :stephist, :bins2d, :histogram2d, :histogram3d, - :density, :bar, :hline, :vline, + :bar, :hline, :vline, :contour, :pie, :shape, :image ], _3dTypes) @@ -1172,11 +1172,6 @@ function RecipesPipeline.preprocess_attributes!(plotattributes::AKW) plotattributes[:framestyle] = _framestyleAliases[plotattributes[:framestyle]] 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 end diff --git a/src/shorthands.jl b/src/shorthands.jl index dfcc23023..580ffdfe3 100644 --- a/src/shorthands.jl +++ b/src/shorthands.jl @@ -107,24 +107,6 @@ julia> histogram2d(randn(10_000),randn(10_000)) """ @shorthands histogram2d -""" - density(x) - density!(x) - -Make a line plot of a kernel density estimate of x. - -# Arguments - -- `x`: AbstractVector of samples for probability density estimation - -# Example -```julia-repl -julia> using StatsPlots -julia> density(randn(100_000)) -``` -""" -@shorthands density - """ heatmap(x,y,z) heatmap!(x,y,z) @@ -342,40 +324,6 @@ plot(x,y,z,seriestype=:mesh3d;connections=(i,j,k)) """ @shorthands mesh3d -""" - boxplot(x, y) - boxplot!(x, y) - -Make a box and whisker plot. - -# Keyword arguments -- `notch`: Bool. Notch the box plot? (false) -- `range`: Real. Values more than range*IQR below the first quartile - or above the third quartile are shown as outliers (1.5) -- `outliers`: Bool. Show outliers? (true) -- `whisker_width`: Real or Symbol. Length of whiskers (:match) - -# Example -```julia-repl -julia> using StatsPlots -julia> boxplot(repeat([1,2,3],outer=100),randn(300)) -``` -""" -@shorthands boxplot - -""" - violin(x,y,z) - violin!(x,y,z) - -Make a violin plot. - -# Example -```julia-repl -julia> violin(repeat([1,2,3],outer=100),randn(300)) -``` -""" -@shorthands violin - """ quiver(x,y,quiver=(u,v)) quiver!(x,y,quiver=(u,v))