[plotter] perso rcParams is now contextualized within the Plotter

This commit is contained in:
Noe Brucy
2021-07-25 10:26:56 +02:00
parent 35cf8ff401
commit 398e376fc9
+1 -5
View File
@@ -173,10 +173,6 @@ class Plotter(Aggregator, BaseProcessor):
# Define rules
self.def_rules()
# Load rcParams
if self.params.rcParams is not None:
plt.rcParams.update(params.rcParams)
# Generate astrophysix's simulations object
self.gen_simus()
@@ -269,7 +265,7 @@ class Plotter(Aggregator, BaseProcessor):
"""
Open storage and figure if needed before processing a rule
"""
with plt.rc_context(self.params.rcParams):
# Set full name according to argument
if arg is not None:
name_full = (