Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

LoadError: UndefVarError: PlotList not defined #128

Open
ghost opened this issue Sep 21, 2020 · 4 comments
Open

LoadError: UndefVarError: PlotList not defined #128

ghost opened this issue Sep 21, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2020

Hi. I'm running Julia 1.5.1 on Windows 10.
Makie plotting has been working wonderfully.
However, I receive the following error after running "using StatsMakie", even in newly created/installed environments.
Any advice would be helpful.

(@v1.5) pkg> activate .
Activating environment at C:\Users\charl\_coding\source\repos\makie_test\Project.toml

(makie_test) pkg> st
Project makie_test v0.1.0
Status C:\Users\charl\_coding\source\repos\makie_test\Project.toml (empty project)

(makie_test) pkg> add AbstractPlotting#master GLMakie#master Makie#master https://github.com/JuliaPlots/StatsMakie.jl.git
Updating git-repo https://github.com/JuliaPlots/AbstractPlotting.jl.git
Updating git-repo https://github.com/JuliaPlots/GLMakie.jl.git
Updating git-repo https://github.com/JuliaPlots/Makie.jl.git
Updating git-repo https://github.com/JuliaPlots/StatsMakie.jl.git
Updating registry at C:\Users\charl\.julia\registries\General
Resolving package versions...
...
(makie_test) pkg> st
Project makie_test v0.1.0
Status C:\Users\charl\_coding\source\repos\makie_test\Project.toml
[537997a7] AbstractPlotting v0.12.10 https://github.com/JuliaPlots/AbstractPlotting.jl.git#master
[e9467ef8] GLMakie v0.1.11 https://github.com/JuliaPlots/GLMakie.jl.git#master
[ee78f7c6] Makie v0.11.1 https://github.com/JuliaPlots/Makie.jl.git#master
[65254759] StatsMakie v0.2.3 https://github.com/JuliaPlots/StatsMakie.jl.git#master

julia> using Makie

julia> using StatsMakie
[ Info: Precompiling StatsMakie [65254759-4cff-5aa5-8326-61ce017a8c70]
WARNING: could not import AbstractPlotting.combine into StatsMakie
ERROR: LoadError: LoadError: UndefVarError: PlotList not defined
Stacktrace:
[1] top-level scope at C:\Users\charl.julia\packages\StatsMakie\MwUVz\src\group\dodge.jl:30
[2] include(::Function, ::Module, ::String) at .\Base.jl:380
[3] include at .\Base.jl:368 [inlined]
[4] include(::String) at C:\Users\charl.julia\packages\StatsMakie\MwUVz\src\StatsMakie.jl:1
[5] top-level scope at C:\Users\charl.julia\packages\StatsMakie\MwUVz\src\StatsMakie.jl:39
[6] include(::Function, ::Module, ::String) at .\Base.jl:380
[7] include(::Module, ::String) at .\Base.jl:368
[8] top-level scope at none:2
[9] eval at .\boot.jl:331 [inlined]
[10] eval(::Expr) at .\client.jl:467
[11] top-level scope at .\none:3
in expression starting at C:\Users\charl.julia\packages\StatsMakie\MwUVz\src\group\dodge.jl:30
in expression starting at C:\Users\charl.julia\packages\StatsMakie\MwUVz\src\StatsMakie.jl:39
ERROR: Failed to precompile StatsMakie [65254759-4cff-5aa5-8326-61ce017a8c70] to C:\Users\charl.julia\compiled\v1.5\StatsMakie\RRy0o_IjdBW.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923

(makie_test) pkg> st
julia>

@piever
Copy link
Member

piever commented Sep 22, 2020

StatsMakie is deprecated and will not receive further development as far as I understand. For it to work, you need to be on an older version of AbstractPlotting (I suspect the issue is that AbstractPlotting did some minor breaking changes but did not bump version number correctly). You could try manually holding it back, like:

(@v1.5) pkg> add AbstractPlotting@0.12.2

However chances are you don't need StatsMakie any more. The recipe functionality (boxplot, violin, etc...) was moved to AbstractPlotting, whereas AlgebraOfGraphics has grouping, styling, and analysis now.

@ghost
Copy link
Author

ghost commented Sep 24, 2020

@piever Thanks for the clarification! Incidentally I became interested in StatsMakie from your talk at JuliaCon.
"JuliaCon 2020 | Interactive data visualizations with StatsMakie | Pietro Vertechi"
Things moves fast on the cutting edge! ;-)

@piever
Copy link
Member

piever commented Sep 24, 2020

They do :)

The talk is actually about AlgebraOfGraphics (things changed between the submission of the talk and actually giving the talk).

@CameronBieganek
Copy link

However chances are you don't need StatsMakie any more. The recipe functionality (boxplot, violin, etc...) was moved to AbstractPlotting, whereas AlgebraOfGraphics has grouping, styling, and analysis now.

A note to this effect in the README of StatsMakie.jl would probably be helpful. 🙂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants