StatsPlots.jl icon indicating copy to clipboard operation
StatsPlots.jl copied to clipboard

Example "ordination" in readme.md doesn't works

Open jgardona opened this issue 11 months ago • 0 comments

Example "ordination" in readme.md doesn't works. I think MultivariateStats, and julia.base has broken changes.

using MultivariateStats, RDatasets, StatsPlots

iris = dataset("datasets", "iris")
X = convert(Matrix, iris[:, 1:4])
M = fit(MDS, X'; maxoutdim=2)

plot(M, group=iris.Species)
julia> M = fit(MDS, x'; maxoutdim=2)
ERROR: UndefKeywordError: keyword argument `distances` not assigned
Stacktrace:
 [1] top-level scope
   @ REPL[8]:1

jgardona avatar Mar 08 '24 12:03 jgardona