diff --git a/nifty/plotting/Plotter/hp_plotter.py b/nifty/plotting/Plotter/hp_plotter.py new file mode 100644 index 0000000000000000000000000000000000000000..d34cefe569f2defa0f30ed2c19c924d2f2edfc84 --- /dev/null +++ b/nifty/plotting/Plotter/hp_plotter.py @@ -0,0 +1 @@ +from plotter import Plotter diff --git a/nifty/plotting/Plotter/plotter.py b/nifty/plotting/Plotter/plotter.py index b5647d4224aba48a52ace9989a1356608f62b9af..e4fd5846f10f4f7e1ed2d76d3a7eff0f105c2f0c 100644 --- a/nifty/plotting/Plotter/plotter.py +++ b/nifty/plotting/Plotter/plotter.py @@ -61,7 +61,7 @@ class Plotter(Loggable, object): self._stack_subplots = bool(stack_subplots) @abc.abstractmethod - def plot(self, field, spaces=None, types=None, data_preselector=None): + def plot(self, field, spaces=None, types=None, slice=None): # if fields is a list, create a new field with appended # field_type = field_array and copy individual parts into the new field @@ -80,7 +80,7 @@ class Plotter(Loggable, object): # add clipping # no_subplot - result_figure = self._create_individual_plot(data) + result_figure = self._create_individual_plot() # non-trivial subplots result_figure = tools.make_subplots(cols=2, rows='total_iterator%2 + 1', subplot_titles='iterator_index')