File tree Expand file tree Collapse file tree 1 file changed +24
-10
lines changed Expand file tree Collapse file tree 1 file changed +24
-10
lines changed Original file line number Diff line number Diff line change @@ -845,16 +845,30 @@ def multiROCCurveGreyOld(
845
845
plt .close ()
846
846
847
847
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
848
861
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" ,
858
872
]
859
873
860
874
@@ -1403,6 +1417,6 @@ def plot_hist(
1403
1417
ax .set_xlim (xlim )
1404
1418
ax .legend ()
1405
1419
if saveas :
1406
- plt .savefig (saveas )
1420
+ plt .savefig (saveas , bbox_inches = "tight" )
1407
1421
print (f"saved figure as { saveas } " )
1408
1422
plt .close ()
You can’t perform that action at this time.
0 commit comments