[plotter] add generic plot_map rule
This commit is contained in:
+4
-1
@@ -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.
|
It's a rule based interface.
|
||||||
This is the plotter module.
|
This is the plotter module.
|
||||||
|
|
||||||
@author Noé Brucy 2019-2020
|
@author Noé Brucy 2019-2021
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@@ -1267,6 +1267,9 @@ class Plotter(Aggregator, BaseProcessor):
|
|||||||
"plot_snapshot": PlotRule(
|
"plot_snapshot": PlotRule(
|
||||||
self, lambda arg, **kwargs: self._plot(*arg, **kwargs)
|
self, lambda arg, **kwargs: self._plot(*arg, **kwargs)
|
||||||
),
|
),
|
||||||
|
"plot_map": PlotRule(
|
||||||
|
self, lambda mapname, **kwargs: self._plot_map(mapname, **kwargs)
|
||||||
|
),
|
||||||
"coldens": PlotRule(
|
"coldens": PlotRule(
|
||||||
self,
|
self,
|
||||||
partial(
|
partial(
|
||||||
|
|||||||
Reference in New Issue
Block a user