I was following the JuliaCon 2021 youtube video: Deep dive with makie layout and I ran into problems with the very first line of code that I wrote to use the makie package:
using CairoMakie
using CairoMakie.FileIO
f = Figure(resolution = (1000, 800))
I get the following error:
ERROR: UndefVarError: Figure not defined
Stacktrace:
[1] top-level scope
Also, when I look at the documentation of Makie, I see usage of Scene in some places and usage of Figure in other places. Scene works fine but Figure doesn’t.
You have a very old version installed. Try ]up or use a seperate environment (you can create a temporary one using ]activate --temp or ]activate ./path/to/env) for experiments with new packages.
I tried ]up but it doesn’t end up updating the packages
@v1.6) pkg> up
Updating registry at `~/.julia/registries/General`
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml`
Very helpful. Thank you so much. WebIO and other packages required specific versions that were causing Makie to not be upgraded to latest version. Removing those packages and upgrading CairoMakie helped resolve the issue.