From ed9ffd3fb896da2ce38d6863d3deb91f0e13b5e3 Mon Sep 17 00:00:00 2001
From: Philipp Arras <parras@mpa-garching.mpg.de>
Date: Tue, 10 Jul 2018 12:20:27 +0200
Subject: [PATCH] pdf -> png

---
 demos/getting_started_3.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/demos/getting_started_3.py b/demos/getting_started_3.py
index 2ecc30574..83f954175 100644
--- a/demos/getting_started_3.py
+++ b/demos/getting_started_3.py
@@ -65,9 +65,9 @@ if __name__ == '__main__':
     INITIAL_POSITION = ift.from_random('normal', H.position.domain)
     position = INITIAL_POSITION
 
-    ift.plot(signal.at(MOCK_POSITION).value, name='truth.pdf')
-    ift.plot(R.adjoint_times(data), name='data.pdf')
-    ift.plot([A.at(MOCK_POSITION).value], name='power.pdf')
+    ift.plot(signal.at(MOCK_POSITION).value, name='truth.png')
+    ift.plot(R.adjoint_times(data), name='data.png')
+    ift.plot([A.at(MOCK_POSITION).value], name='power.png')
 
     # number of samples used to estimate the KL
     N_samples = 20
@@ -81,17 +81,17 @@ if __name__ == '__main__':
         KL, convergence = minimizer(KL)
         position = KL.position
 
-        ift.plot(signal.at(position).value, name='reconstruction.pdf')
+        ift.plot(signal.at(position).value, name='reconstruction.png')
 
         ift.plot([A.at(position).value, A.at(MOCK_POSITION).value],
-                 name='power.pdf')
+                 name='power.png')
 
     sc = ift.StatCalculator()
     for sample in samples:
         sc.add(signal.at(sample+position).value)
-    ift.plot(sc.mean, name='avrg.pdf')
-    ift.plot(ift.sqrt(sc.var), name='std.pdf')
+    ift.plot(sc.mean, name='avrg.png')
+    ift.plot(ift.sqrt(sc.var), name='std.png')
 
     powers = [A.at(s+position).value for s in samples]
     ift.plot([A.at(position).value, A.at(MOCK_POSITION).value]+powers,
-             name='power.pdf')
+             name='power.png')
-- 
GitLab