-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
fix updates for multiple meshes #2277
Conversation
This still doesn't work, but for a different reason: d = Observable([sin(x) * cos(y) for x in 1:10, y in 1:10])
x = Observable(1:10)
y = Observable(1:10)
f, ax, con = contourf(x, y, d)
##
x.val = 1:20
y.val = 1:20
d[] = randn(20, 20) |
Compile Times benchmarkNote, that these numbers may fluctuate on the CI servers, so take them with a grain of salt. All benchmark results are based on the mean time and negative percent mean faster than the base branch. Note, that GLMakie + WGLMakie run on an emulated GPU, so the runtime benchmark is much slower. Results are from running: using_time = @ctime using Backend
# Compile time
create_time = @ctime fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @ctime Makie.colorbuffer(display(fig))
# Runtime
create_time = @benchmark fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @benchmark Makie.colorbuffer(display(fig))
|
I donnt think we can fix that right now, without a different approach in the conversion pipeline... |
No? The exact same code does work if you use |
That's because Image doesn't care if dimensions don't match: image(1:4, 1:20, rand(5, 7)) The image is interpolated to whatever rect x/y span... |
And heatmap? That's pretty bad for image, by the way :D |
…into sd/fix-contourf
Missing reference imagesFound 12 new images without existing references. |
Missing reference imagesFound 12 new images without existing references. |
You guys are awesome! Thanks for taking the time to look around at it! |
Should fix #2200