Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8927

Title drawn on top of axis

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 6.10/02
    • Fix Version/s: 6.12/00, 6.10/04
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      SLC6, x86_64

      Description

      As a result of running the following reproducer:

      import ROOT
      h = ROOT.TH1F("myHisto","My Histo;X axis;Y axis",64, -4, 4)
       
      rndmGenerator = ROOT.TRandom3()
      for i in range(100):
          rndm = rndmGenerator.Gaus()
          h.Fill(rndm)
          
      h.Draw()

      the plot that is drawn has an issue with the placement of the title for the y axis, which lands of top of the axis.

      This is a regression with respect to 6.08, which works fine. The same issue can also be observed in the JSROOT equivalent of the plot, but it looks like the issue is in the old graphics.

      Enric

        Attachments

          Activity

            People

            Assignee:
            couet Olivier Couet
            Reporter:
            etejedor Enric Tejedor Saavedra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: