Skip to content

Commit

Permalink
Merge pull request #43 from lenzip/ROOT_no_batch
Browse files Browse the repository at this point in the history
ROOT in no-batch mode by default
  • Loading branch information
ttedeschi authored May 29, 2024
2 parents b513641 + 1fb694d commit 1ca8f8c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmsstyle/cmsstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import ROOT as rt
from array import array

rt.gROOT.SetBatch(rt.kTRUE)

cms_lumi = "Run 2, 138 fb^{#minus1}"
cms_energy = "13 TeV"
Expand Down
1 change: 1 addition & 0 deletions tests/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import cmsstyle as CMS

CMS.SetExtraText("Simulation Preliminary")
ROOT.gROOT.SetBatch(ROOT.kTRUE)


class Plotter:
Expand Down
1 change: 1 addition & 0 deletions tests/example_palette.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import cmsstyle as CMS

CMS.SetExtraText("Simulation")
ROOT.gROOT.SetBatch(ROOT.kTRUE)

class Plotter:
def __init__(self):
Expand Down

0 comments on commit 1ca8f8c

Please sign in to comment.