-
-
Notifications
You must be signed in to change notification settings - Fork 378
Open
Labels
Description
- what version of Makie are you running? (]st -m Makie)
0.24.9 - can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
yes - What platform + GPU are you on?
WSL(Ubuntu 24.04) and Windows - Which backend are you using? (GLMakie, CairoMakie, WGLMakie, RPRMakie)
Cairo Makie - Please provide an minimal example of the failing code. If the problem is with the visualization, please provide a picture or video of it.
using CairoMakie # or GLMakie
# 1. Minimal dummy data
x = [1.0, 2.0, 3.0]
y = [1.0, 2.0, 3.0]
# 2. Labels containing LaTeXStrings (including an empty string, matching the original case)
labels = [L"$H^+$", "", L"$O_2^+$"]
# 3. Setup figure
fig, ax, plt = scatter(x, y)
# 4. Trigger the bug using `annotation!`
# This will cause a StackOverflowError due to infinite recursive updates
# in ComputePipeline.jl / calculate_best_offsets!
annotation!(ax, x, y, text=labels)
# Attempt to display (will likely crash before rendering)
display(fig)Reactions are currently unavailable