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

Issue with andrewsplot function

Open tomjcamp opened this issue 5 years ago • 1 comments

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?

tomjcamp avatar Nov 27 '20 20:11 tomjcamp

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?

sethaxen avatar Jul 07 '21 21:07 sethaxen