Skip to content

Commit d9319b7

Browse files
author
Mori Ludovico
committed
update color palette
1 parent cbbd848 commit d9319b7

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

src/boostedhh/plotting.py

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -845,16 +845,30 @@ def multiROCCurveGreyOld(
845845
plt.close()
846846

847847

848+
# th_colours = [
849+
# "#36213E",
850+
# "#9381FF",
851+
# "#1f78b4",
852+
# "#a6cee3",
853+
# "#32965D",
854+
# "#7CB518",
855+
# "#EDB458",
856+
# "#ff7f00",
857+
# "#a70000",
858+
# ]
859+
860+
# Updated with CMS color palette
848861
th_colours = [
849-
"#36213E",
850-
# "#9381FF",
851-
"#1f78b4",
852-
"#a6cee3",
853-
# "#32965D",
854-
"#7CB518",
855-
"#EDB458",
856-
"#ff7f00",
857-
"#a70000",
862+
"#3f90da",
863+
"#ffa90e",
864+
"#bd1f01",
865+
"#94a4a2",
866+
"#832db6",
867+
"#a96b59",
868+
"#e76300",
869+
"#b9ac70",
870+
"#717581",
871+
"#92dadd",
858872
]
859873

860874

@@ -1403,6 +1417,6 @@ def plot_hist(
14031417
ax.set_xlim(xlim)
14041418
ax.legend()
14051419
if saveas:
1406-
plt.savefig(saveas)
1420+
plt.savefig(saveas, bbox_inches="tight")
14071421
print(f"saved figure as {saveas}")
14081422
plt.close()

0 commit comments

Comments
 (0)