From ecc43e1b1afdea0990adad8bb2a22c6e7b5afd22 Mon Sep 17 00:00:00 2001
From: Martin Reinecke <martin@mpa-garching.mpg.de>
Date: Fri, 28 Apr 2017 14:04:12 +0200
Subject: [PATCH] cosmetics

---
 demos/wiener_filter.py | 12 ++++++------
 test/test_misc.py      |  1 +
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/demos/wiener_filter.py b/demos/wiener_filter.py
index 06221f014..b9d432b46 100644
--- a/demos/wiener_filter.py
+++ b/demos/wiener_filter.py
@@ -1,7 +1,7 @@
 
 from nifty import *
-import plotly.offline as pl
-import plotly.graph_objs as go
+#import plotly.offline as pl
+#import plotly.graph_objs as go
 
 from mpi4py import MPI
 comm = MPI.COMM_WORLD
@@ -50,7 +50,7 @@ if __name__ == "__main__":
     d_data = d.val.get_full_data().real
     m_data = m.val.get_full_data().real
     ss_data = ss.val.get_full_data().real
-    if rank == 0:
-        pl.plot([go.Heatmap(z=d_data)], filename='data.html')
-        pl.plot([go.Heatmap(z=m_data)], filename='map.html')
-        pl.plot([go.Heatmap(z=ss_data)], filename='map_orig.html')
+#    if rank == 0:
+#        pl.plot([go.Heatmap(z=d_data)], filename='data.html')
+#        pl.plot([go.Heatmap(z=m_data)], filename='map.html')
+#        pl.plot([go.Heatmap(z=ss_data)], filename='map_orig.html')
diff --git a/test/test_misc.py b/test/test_misc.py
index 73616d7bf..2e859d723 100644
--- a/test/test_misc.py
+++ b/test/test_misc.py
@@ -43,6 +43,7 @@ def _harmonic_type(itp):
     elif otp==np.float32:
         otp=np.complex64
     return otp
+
 def _get_rtol(tp):
     if (tp==np.float64) or (tp==np.complex128):
         return 1e-10
-- 
GitLab