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

CairoMakie sometimes doesn't draw the last bin in stephist #4627

Closed
3 tasks done
aplavin opened this issue Nov 25, 2024 · 2 comments · Fixed by #4631
Closed
3 tasks done

CairoMakie sometimes doesn't draw the last bin in stephist #4627

aplavin opened this issue Nov 25, 2024 · 2 comments · Fixed by #4631
Labels

Comments

@aplavin
Copy link
Contributor

aplavin commented Nov 25, 2024

Same code, stephist(1:10, bins=[0,5,10], axis=(;limits=(0..10, nothing))), with GLMakie (correct):
Image
and CairoMakie (last bin is missing):
Image

Changing the right limit to something above 10, even to 10.001, plots the histogram correctly.

  • what version of Makie are you running? (]st -m Makie) latest
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
  • What platform + GPU are you on? macbook m2
@aplavin aplavin added the bug label Nov 25, 2024
@jkrumbiegel
Copy link
Member

@ffreyer maybe some of your clipping code?

@ffreyer
Copy link
Collaborator

ffreyer commented Nov 26, 2024

Yup, fixed in #4631.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants