From 048b2b43f93d2d2415ae7f795d4354015caae906 Mon Sep 17 00:00:00 2001 From: andrzejnovak Date: Thu, 25 Jan 2024 08:39:20 +0100 Subject: [PATCH] feat: CMS style to include Petroff colors --- src/mplhep/styles/cms.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mplhep/styles/cms.py b/src/mplhep/styles/cms.py index 68f776dc..6c47ee02 100644 --- a/src/mplhep/styles/cms.py +++ b/src/mplhep/styles/cms.py @@ -1,13 +1,17 @@ from __future__ import annotations import matplotlib as mpl +from cycler import cycler # PRL figsize / Elsevier figsize, Nature is somewhere in between # single column width - 86 mm (3.386in) / 90 mm (3.543in) # double column width - 172 mm (6.772in) / 180 mm (7.087in) # For now size to 10 +cmap_petroff = ["#5790fc", "#f89c20", "#e42536", "#964a8b", "#9c9ca1", "#7a21dd"] + CMS = { + "axes.prop_cycle": cycler("color", cmap_petroff), "font.sans-serif": ["TeX Gyre Heros", "Helvetica", "Arial"], "font.family": "sans-serif", "mathtext.fontset": "custom",