Hello everyone.
I am having troubles to plot a surface in Makie. Here is a MWE:
]add GLMakie
using Makie
a = 1:0.1:20;
b = 5:0.05:30;
c = [x*log10(y) for x in a, y in b];
x,y,z = surface(a,b,c)
this gets me:
Error showing value of type AbstractPlotting.FigureAxisPlot:
ERROR: MethodError: no method matching shadertype(::FileIO.File{FileIO.DataFormat{:UNKNOWN}, String})
Closest candidates are:
shadertype(::GLMakie.GLAbstraction.Shader) at ~\.julia\packages\GLMakie\V1pC5\src\GLAbstraction\GLShader.jl:63
shadertype(::FileIO.File{FileIO.DataFormat{:GLSLShader}, Name} where Name) at ~\.julia\packages\GLMakie\V1pC5\src\GLAbstraction\GLShader.jl:64
shadertype(::AbstractString) at
~\.julia\packages\GLMakie\V1pC5\src\GLAbstraction\GLShader.jl:67
I have been able to see the surface with WGLMakie
and VSCode, but my workflow is usually with just REPL. Any suggestions? Is my installation of Julia broken, or is it the package?
Thanks!
EDIT: Using latest GLMakie
in the global registry and both Julia 1.5.3 and 1.6.0-rc1