From 96ead02e5ced8efb5a6d84ce2f92f11e99d5a6f1 Mon Sep 17 00:00:00 2001
From: Mihai Baltac <mbaltac@mpa-garching.mpg.de>
Date: Fri, 10 Mar 2017 12:37:43 +0100
Subject: [PATCH] hp_plotter

---
 nifty/plotting/Plotter/hp_plotter.py | 1 +
 nifty/plotting/Plotter/plotter.py    | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 nifty/plotting/Plotter/hp_plotter.py

diff --git a/nifty/plotting/Plotter/hp_plotter.py b/nifty/plotting/Plotter/hp_plotter.py
new file mode 100644
index 000000000..d34cefe56
--- /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 b5647d422..e4fd5846f 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')
-- 
GitLab