Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get ygridstyle and update it #280

Open
lazarusA opened this issue Oct 31, 2024 · 1 comment
Open

get ygridstyle and update it #280

lazarusA opened this issue Oct 31, 2024 · 1 comment

Comments

@lazarusA
Copy link
Contributor

it looks like currently this is not possible, I'm looking into getting the current ones, and the do my own.

julia> ga.ygridstyle[]

julia> ga.ygridstyle
Observable{Any}(nothing)
    0 => map((::GLMakie.var"#235#236")(value) @ GLMakie ~/.julia/packages/GLMakie/o5Nad/src/drawing_primitives.jl:388)


julia> ga.ygridstyle = :dash
ERROR: cannot convert a value to nothing for assignment
Stacktrace:
  [1] error(s::String)
@asinghvi17
Copy link
Member

latgridplot = lines!(scene, latticks_line_obs; color=axis.ygridcolor, linewidth=axis.ygridwidth,
    visible=axis.ygridvisible, linestyle=axis.ygridstyle, transparency=true)

Maybe we need to change the default? Does it work if you pass the geoaxis constructor the parameter like GeoAxis(...; ygridstyle = :dash)?

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

No branches or pull requests

2 participants