Merge c9189432bda9e82ade2e690645133576f4c759f7 into 13141feb4f3a7a950ba0e471b11617ecd1d8f6a2
This commit is contained in:
commit
67b6ab39f2
@ -57,7 +57,7 @@ const _allTypes = vcat([
|
|||||||
:none, :line, :path, :steppre, :stepmid, :steppost, :sticks, :scatter,
|
:none, :line, :path, :steppre, :stepmid, :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)
|
||||||
|
|
||||||
@ -1200,11 +1200,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
|
||||||
|
|
||||||
|
|||||||
@ -107,24 +107,6 @@ julia> histogram2d(randn(10_000),randn(10_000))
|
|||||||
"""
|
"""
|
||||||
@shorthands histogram2d
|
@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)
|
||||||
heatmap!(x,y,z)
|
heatmap!(x,y,z)
|
||||||
@ -342,40 +324,6 @@ plot(x,y,z,seriestype=:mesh3d;connections=(i,j,k))
|
|||||||
"""
|
"""
|
||||||
@shorthands mesh3d
|
@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))
|
||||||
quiver!(x,y,quiver=(u,v))
|
quiver!(x,y,quiver=(u,v))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user