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

Empty/empty string rich text crashes Label #3791

Open
3 tasks done
rongcuid opened this issue Apr 17, 2024 · 0 comments
Open
3 tasks done

Empty/empty string rich text crashes Label #3791

rongcuid opened this issue Apr 17, 2024 · 0 comments
Labels
bug Makie Backend independent issues (Makie core) rich text

Comments

@rongcuid
Copy link

  • are you running newest version (version from docs) ?
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
  • What platform + GPU are you on? MacOS 14.4.1 M2
using CairoMakie
fig = Figure()
Label(fig, text=rich())
Label(fig, text=rich(""))

Both labels will crash with ERROR: MethodError: reducing over an empty collection is not allowed; consider supplying init to the reducer

@rongcuid rongcuid added the bug label Apr 17, 2024
@asinghvi17 asinghvi17 added the Makie Backend independent issues (Makie core) label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Makie Backend independent issues (Makie core) rich text
Projects
None yet
Development

No branches or pull requests

3 participants