[plotter] add generic plot_map rule

This commit is contained in:
Noe Brucy
2021-06-07 14:27:44 +02:00
parent 6f3b485cd4
commit b8680c5c9c
+4 -1
View File
@@ -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(