changeset 70:6ffa6fcf278e

Move pylab import to where graphing is so we don't need an X server
author Daniel O'Connor <doconnor@gsoft.com.au>
date Mon, 30 Aug 2021 12:40:43 +0930
parents 7386f2888508
children 00800345fbae
files logpps.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/logpps.py	Wed Aug 04 16:07:44 2021 +0930
+++ b/logpps.py	Mon Aug 30 12:40:43 2021 +0930
@@ -33,7 +33,6 @@
 # );
 
 import datetime
-import matplotlib.pylab as pylab
 import numpy
 import psycopg2
 #import sqlite3
@@ -80,6 +79,7 @@
 
     while True:
         arys = acquire(u, vscales)
+        #import matplotlib.pylab as pylab
         #for a in arys:
         #    pylab.plot(a)
         #pylab.show()