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

[PyROOT] Enable interactive graphics for MacOS in Python script mode

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PyROOT
    • Labels:
      None

      Description

      The old PyROOT and the experimental one don't enable interactive graphics for MacOS in Python script mode (means python file.py and not the prompt) because MacOS prevents to run a second thread processing ROOT events.

      The configuration in the old PyROOT: https://github.com/root-project/root/blob/master/bindings/pyroot/ROOT.py#L769

      This affects also the rootbrowse executable.

      A simple reproducer follows:

      import ROOT
      h = ROOT.TH1F()
      h.Draw()
       
      import time
      while True:
        time.sleep(0.1)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              etejedor Enric Tejedor Saavedra
              Reporter:
              swunsch Stefan Wunsch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: