-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Extra vertical space on a canvas when CanvasPreferGL is set to true, reproducible via SSH #13016
Comments
GL does not seem to work on lxplus. I get:
I will investigate |
Hi Olivier,
It works for me, both in ROOT 6.22/06 and 6.28/00 provided on |
This is weird. I tried to connect specifically on
Standard X11 ROOT display works though |
I tried wich |
Agreed. It works fine even in ROOT 6.30/02. |
Check duplicate issues.
Describe the bug
When trying to draw a histogram with a transparent box on top of it, I noticed that whenever I set
CanvasPreferGL
totrue
, the canvas moves down, and the X-axis title is cut off.What is the expected behaviour?
The only change I would expect is the transparency introduced to my box. Things are not supposed to be moved around only due to
How to reproduce?
Consider this macro:
Now if I run this as
I get the following:
(no transparency is expected, so it is all good).
But when I change
false
totrue
at the third lineand run again
, I get
The box is now transparent, which is good, but there is too much empty space above the histogram name (“
h
”) and, as a consequence, the X-axis title is now cut off. Is there a way to make my box transparent and keep everything else where it was before?Please note I’m using the
-n
option when runningtranspar.cxx
, so it’s not due to something I have in my style file.The original discussion at the ROOT forum revealed that:
lxplus7
)b->Draw();
; the transparency remains; the +/- 0.1 offsets need a bit of a tuning of course):ROOT version
6.28/00
How did you install ROOT?
provided by ATLAS @ lxplus7
Which operating system are you using?
CentOS 7
Additional context
No response
The text was updated successfully, but these errors were encountered: