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
cannot add a colorbar to a WGLMakie
2d plot
#2488
Comments
WGLMakie
plotWGLMakie
2d plot
How do you execute this? Looks like you're using Page without executing it in an environment that needs a page? |
I just followed the mwe at https://docs.makie.org/stable/documentation/backends/wglmakie/#output (I don't know anything about this backend ... should I try something else ?), and opened If I run the example without the colorbar line, the plot is displayed correctly in my browser. (@v1.8) pkg> st Makie WGLMakie JSServe
Status `~.julia/environments/v1.8/Project.toml`
[824d6782] JSServe v1.2.9
[ee78f7c6] Makie v0.19.0
[276b4fcb] WGLMakie v0.8.0 |
Yeah I think I found the problem...Inserting new scenes is buggy right now - only inserting new plots works correctly right now... |
The colorbars also don't need to be inserted live into the test figure. It's enough to have them there at all. |
Thanks Simon for the workaround and the explanation it seems to work locally. I'm pushing a fix in #2478.
That could work, but IMO adding a colorbar with a label rotation to an existing plot should be tested for the label bounding boxes interaction (a standalone colorbar is a somewhat less common scenario). |
It's ok to add it, it's just not supposed to be added after displaying it for the first time I think. |
Yeah, probably adding a semicolon after |
Fixed by #2856 |
Actually, it seems it was fixed before that and should already be tagged |
MRE (also testing against #2428, errors out too), works in
CairoMakie
(untestedGLMakie
):Encountered in #2478
and blocking.The text was updated successfully, but these errors were encountered: