-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
colorscale=-
results in a black image
#4883
Comments
Huh, I guess the colornorm needs to get sorted after applying the colorscale: julia> f, ax, pl = image(randn(20, 20), colorscale=-)
julia> s = display(f)
julia> robj = GLMakie.plot2robjs(s, pl)[1]
julia> robj[:color_norm][]
2-element Vec{2, Float32} with indices SOneTo(2):
2.4661164
-2.9072657
julia> robj[:color_norm][] = Vec2f(-3, 3) |
Yeah, the code for this is in Makie.jl |
Thanks for the hint, added some calls to |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result of

image(randn(20, 20), colorscale=-)
is just an empty black image:I would expect the same visual result as
image(-A)
, with the only difference being labels for the colorbar.]st -m Makie
) latest, v0.22.2]activate --temp; add Makie
) yesThe text was updated successfully, but these errors were encountered: