From 1ead622bc4dad90c3021712d9e2135c1800b37df Mon Sep 17 00:00:00 2001
From: Philipp Niedermayer <p.niedermayer@gsi.de>
Date: Thu, 11 Aug 2022 08:46:56 +0200
Subject: [PATCH] Matplotlib rcParams

---
 plotting.py | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/plotting.py b/plotting.py
index b80d254..ed8fd45 100644
--- a/plotting.py
+++ b/plotting.py
@@ -32,11 +32,13 @@ cmap_petroff_bipolar.set_over(petroff_colors[8])
 
 
 # Matplotlib options
-plt.rcParams['figure.figsize'] = 8, 5
-plt.rcParams['figure.dpi'] = 120
-plt.rcParams['figure.constrained_layout.use'] = True
-plt.rcParams['legend.fontsize'] = 'x-small'
-plt.rcParams['legend.title_fontsize'] = 'small'
+mpl.rcParams.update({
+    'figure.figsize': (8, 5),
+    'figure.dpi': 120,
+    'figure.constrained_layout.use': True,
+    'legend.fontsize': 'x-small',
+    'legend.title_fontsize': 'small',
+})
 
 
 
-- 
GitLab