Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 15, 2024
1 parent fb48c1e commit c23cd2f
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/HH4b/boosted/FitB_0.95_PoissonCDF_separate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"import matplotlib.pyplot as plt\n",
"import matplotlib.ticker as mticker\n",
"import numpy as np\n",
Expand Down
3 changes: 1 addition & 2 deletions src/HH4b/boosted/trigger_signal.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"plt.rcParams[\"lines.linewidth\"] = 2\n",
"plt.rcParams[\"grid.color\"] = \"#CCCCCC\"\n",
"plt.rcParams[\"grid.linewidth\"] = 0.5\n",
"plt.rcParams[\"figure.edgecolor\"] = \"none\"\n",
"\n"
"plt.rcParams[\"figure.edgecolor\"] = \"none\""
]
},
{
Expand Down
1 change: 0 additions & 1 deletion src/HH4b/combine/binder/VBFPlots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"samples = {\n",
" \"VBF_HHto4B_CV_1_C2V_1_C3_1\": \"src/HH4b/combine/binder/vbf/all.root\",\n",
" \"GluGlutoHHto4B_kl-1p00_kt-1p00_c2-0p00\": \"src/HH4b/combine/binder/ggf/all.root\",\n",
Expand Down
2 changes: 1 addition & 1 deletion src/HH4b/jsmr/jmsr_templates.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"from HH4b.utils import ShapeVar\n",
"\n",
"formatter = mticker.ScalarFormatter(useMathText=True)\n",
"formatter.set_powerlimits((-3, 3))\n"
"formatter.set_powerlimits((-3, 3))"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/HH4b/overlap/Overlap.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"import numpy as np\n",
"import pandas as pd\n",
"import uproot\n",
"from xgboost import XGBClassifier\n"
"from xgboost import XGBClassifier"
]
},
{
Expand Down
1 change: 0 additions & 1 deletion src/HH4b/postprocessing/run2/PostProcess2018.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"import vector\n",
"\n",
"vector.register_awkward()\n",
Expand Down
2 changes: 1 addition & 1 deletion src/HH4b/semiboosted/CategorizeRecoByGen.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"import pandas as pd\n",
"import vector\n",
"\n",
"vector.register_awkward()\n"
"vector.register_awkward()"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/HH4b/semiboosted/MatchingYields_Billy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"import pandas as pd\n",
"import vector\n",
"\n",
"vector.register_awkward()\n"
"vector.register_awkward()"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/HH4b/semiboosted/ooc-semiboosted.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"import pandas as pd\n",
"import vector\n",
"\n",
"vector.register_awkward()\n"
"vector.register_awkward()"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions src/HH4b/semiboosted/ooc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"import awkward as ak\n",
"import hist\n",
"import numpy as np\n",
"import pandas as pd\n",
"import vector\n",
"\n",
"vector.register_awkward()\n"
"vector.register_awkward()"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/HH4b/semiboosted/ooc_genJet_matching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"import pandas as pd\n",
"import vector\n",
"\n",
"vector.register_awkward()\n"
"vector.register_awkward()"
]
},
{
Expand Down

0 comments on commit c23cd2f

Please sign in to comment.