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

Issue with logarithmic view #34

Open
dnwerner opened this issue May 30, 2024 · 2 comments
Open

Issue with logarithmic view #34

dnwerner opened this issue May 30, 2024 · 2 comments

Comments

@dnwerner
Copy link

The zoom range of logarithmic plots seems to have a bug. In my example figure (a) there are clearly bins with 1-2 entries in linear view (below 0.09), yet the logarithmic view seems to cut-off the lowest counts. The histogram is a TH1D. Then manually zooming in occasionally I can trick the viewer into zooming out (by zooming on the lower part first, and only then switching to ln-view). The issue seems to exist for all ln modes.

image
Linear view (a)
image
Logarithmic view (b) - notice the missing 1-2 count events below 0.09. Zooming out does not reveal them.

@aimeric-landou
Copy link

I am also encoutering this issue.
Selecting a different histogram B in the file after setting the SetLog y option for histogram A then coming back to the histogram A does fix the y-axis window issue.

@dnwerner
Copy link
Author

Thank you, the workaround helps a lot!
I hope the underlying issue gets fixed soon - It is hopefully not too difficult if a simple switch between histograms already calls the code that applies proper scaling

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

No branches or pull requests

2 participants