[plotter] perso rcParams is now contextualized within the Plotter
This commit is contained in:
+1
-5
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user