Dear ROOT,
On my system, using the old canvas (TRootCanvas), the call to TH2F::Draw("text")
do not show any bin content when the font is set to 13, 23 or 43…
This script reproduces the issue :
def testH():
h2 = ROOT.TH2F("h","h", 10, 0, 10, 10,0,10)
h2.Fill(1,2,3)
h2.Fill(1,1,0.2)
h2.Fill(4,6,1.1)
h2.Draw("text")
return h2
# in a python interactive session :
h = testH() # --> ok bin contents are displayed as text
ROOT.gStyle.SetTextFont(43) # --> bin contents disapear
ROOT.gStyle.SetTextFont(42) # --> bin contents re-appear !
This problem does not occur with the new web-based canvas…
Is there something I can do to fix the pbm ? (I’d like to use the exact same styling options as my collaborators…)
Cheers,
P-A
ROOT Version: 6.34.00
Platform: linuxx8664gcc
Compiler: (GCC) 14.2.1