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

stephist gives improper upper limit with yscale=log10 #4579

Open
3 tasks done
Yuan-Ru-Lin opened this issue Nov 9, 2024 · 0 comments
Open
3 tasks done

stephist gives improper upper limit with yscale=log10 #4579

Yuan-Ru-Lin opened this issue Nov 9, 2024 · 0 comments
Labels
bug (log) scale plot Related to plot object transformation related to `Transformation` objects

Comments

@Yuan-Ru-Lin
Copy link

Yuan-Ru-Lin commented Nov 9, 2024

stephist(randn(10_000_000), bins=-5:0.1:5, axis=(; yscale=log10))

renders

Image

while

hist(randn(10_000_000), bins=-5:0.1:5, axis=(; yscale=log10))

renders

Image

Note that while setting yscaleto be Makie.pseudolog10 results in the correct upper limit, it doesn't result in nice ticks.

stephist(randn(10_000_000), bins=-5:0.1:5, axis=(; yscale=Makie.pseudolog10))

renders

Image

  • what version of Makie are you running? Makie v0.21.15
  • can you reproduce the bug with a fresh environment? Yes
  • What platform + GPU are you on? See below
Version info
Julia Version 1.11.1
Commit 8f5b7ca12ad (2024-10-16 10:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 10 × Apple M2 Pro
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, apple-m2)
Threads: 6 default, 0 interactive, 3 GC (on 6 virtual cores)
Environment:
  JULIA_PROJECT = @work
@Yuan-Ru-Lin Yuan-Ru-Lin added the bug label Nov 9, 2024
@Yuan-Ru-Lin Yuan-Ru-Lin changed the title stephist not giving upper limit with yscale=log10 (while hist does) stephist gives improper upper limit with yscale=log10 Nov 9, 2024
@ffreyer ffreyer added plot Related to plot object transformation related to `Transformation` objects labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug (log) scale plot Related to plot object transformation related to `Transformation` objects
Projects
None yet
Development

No branches or pull requests

3 participants