One thing I’ve noticed is that when I open the editor for the TLegend and change the opacity around, things start popping up or disappearing. I see lots of TQuartz errors such as:
So it seems like something is off here. Any suggestions on what I could try? It’s very hard to provide a MWE as this is part of plotting code in python.
If I save as a PDF or PNG, this is the resulting output: bjets_n.pdf (16.8 KB)
It’s really not clear to me what’s going on with the plotting at all here. There’s additionally a giant black box associated with the TLegend at the top right that’s also showing up, which seems to imply some sort of issue in rendering.
Looks like it’s an issue with the text size. Did the units for the text size change? I think it used to work with pixels, but now it seems to be relative? In any case, consider this noise…
It is actually a problem with the text size:
You can give the text size in both pixels and relative to the current pad. Which definition is used depends on the Text Font.
The Text Font is defined as the sum of the Fontnumber (in your case 6) times 10 and the precision (in your case 2) so overall 62 in your case. The 2 means that Root interprets the text size realtive to the current pad. Since you have set 14 there, your text is 14 times as high as the pad.
I assume you meant to give the text size in pixels. In this case the precision has to be 3 which means that the text size is given in pixels.