StatsPlots.jl
StatsPlots.jl copied to clipboard
Issue with andrewsplot function
Using the code example :
using RDatasets, StatsPlots
iris = dataset("datasets", "iris");
@df iris andrewsplot(:Species, cols(1:4))
results in the following error:
ERROR: Expects 200 elements in each col of y, found 50.
What might be causing this?
I was unable to reproduce this on
julia> versioninfo()
Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, haswell)
Environment:
JULIA_NUM_THREADS = 4
JULIA_EDITOR = /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code
JULIA_CMDSTAN_HOME = /Users/sethaxen/software/cmdstan-2.26.1
julia> using Pkg; Pkg.status()
Status `/private/var/folders/5c/7l7zjpjj4fs6t31xlh4hjggm0000gn/T/jl_qfpfcr/Project.toml`
[ce6b1742] RDatasets v0.7.5
[f3b207a7] StatsPlots v0.14.24
@tomjcamp can you verify whether you still see this error?