I am trying to follow along with the Basic Tutorial on the Makie webpage. I have Makie, GLMakie and CairoMakie installed. I tried running the following code:
using CairoMakie
F = Figure(backgroundcolor = :tomato)
Which generates these error messages:
ERROR: MethodError: no method matching return_type(::Makie.var"#30#32"{Set{Makie.Mouse.Button}}, ::Tuple{DataType})
Closest candidates are:
return_type(::Any, ::DataType)
@ Core compiler\typeinfer.jl:1109
return_type(::Any, ::DataType, ::UInt64)
@ Core compiler\typeinfer.jl:1115
Stacktrace:
[1] _sanitize_observer_function(f::Any, argtypes::Tuple{DataType})
@ Makie C:\Users\foxda\.julia\packages\Makie\c5WJV\src\interaction\PriorityObservable.jl:82
[2] on(f::Any, observable::Makie.PriorityObservable{Makie.MouseButtonEvent}; weak::Bool, priority::Int8)
@ Makie C:\Users\foxda\.julia\packages\Makie\c5WJV\src\interaction\PriorityObservable.jl:100
[3] on
@ C:\Users\foxda\.julia\packages\Makie\c5WJV\src\interaction\PriorityObservable.jl:99 [inlined]
[4] Events()
@ Makie C:\Users\foxda\.julia\packages\Makie\c5WJV\src\types.jl:109
[5] Scene(; clear::Bool, transform_func::Function, scene_attributes::Base.Pairs{Symbol, Any, Tuple{Symbol, Symbol}, NamedTuple{(:camera, :backgroundcolor), Tuple{typeof(campixel!), Symbol}}})
@ Makie C:\Users\foxda\.julia\packages\Makie\c5WJV\src\scenes.jl:135
[6] Figure(; kwargs::Base.Pairs{Symbol, Symbol, Tuple{Symbol}, NamedTuple{(:backgroundcolor,), Tuple{Symbol}}})
@ Makie C:\Users\foxda\.julia\packages\Makie\c5WJV\src\figures.jl:70
[7] top-level scope
@ REPL[20]:1
Any help with this would be greatly appreciated!
Edit: I am using windows 10 and Julia version 1.9.2. I originally installed the CairoMakie package on jupyter. Afterwards I installed it using the julia console.