diff --git a/plotter.py b/plotter.py index 7f27afc..1511bd9 100644 --- a/plotter.py +++ b/plotter.py @@ -1125,6 +1125,12 @@ class Plotter(Aggregator, BaseProcessor): if color is None and colors is not None: if nml_color is None: color = colors[run] + elif nml_color == "time": + time = ( + self.current_processor.time + * self.current_processor.info["unit_time"] + ).express(unit_time) + color = colors(time) else: nml = self.study.get_nml(nml_color, run) try: