[plotter] add the possibility to set rcParams in the conf file
This commit is contained in:
+6
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user