[plotter] add the possibility to set rcParams in the conf file

This commit is contained in:
Noe Brucy
2021-07-23 00:43:44 +02:00
parent 12daf7588a
commit a59ae36280
2 changed files with 9 additions and 2 deletions
+6 -1
View File
@@ -173,9 +173,14 @@ class Plotter(Aggregator, BaseProcessor):
# Define rules
self.def_rules()
# generate astrophysix's simulations object
# Load rcParams
if self.params.rcParams is not None:
plt.rcParams.update(params.rcParams)
# Generate astrophysix's simulations object
self.gen_simus()
# Initialize pointers
self.current_processor = None
def gen_simus(self):