From b8680c5c9cfd4ccf45fd0fdc6ec5a21db4abe458 Mon Sep 17 00:00:00 2001 From: Noe Brucy Date: Mon, 7 Jun 2021 14:27:44 +0200 Subject: [PATCH] [plotter] add generic plot_map rule --- plotter.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plotter.py b/plotter.py index 8bb0c2b..6a92909 100644 --- a/plotter.py +++ b/plotter.py @@ -5,7 +5,7 @@ This software is a helper to use pysmes tools to read and analyse RAMSES Outputs It's a rule based interface. This is the plotter module. -@author Noé Brucy 2019-2020 +@author Noé Brucy 2019-2021 """ import os @@ -1267,6 +1267,9 @@ class Plotter(Aggregator, BaseProcessor): "plot_snapshot": PlotRule( self, lambda arg, **kwargs: self._plot(*arg, **kwargs) ), + "plot_map": PlotRule( + self, lambda mapname, **kwargs: self._plot_map(mapname, **kwargs) + ), "coldens": PlotRule( self, partial(