diff --git a/CEP/GSM/src/gsmutils.py b/CEP/GSM/src/gsmutils.py index b83c135b4bd757746483a783d90a52735ddf543f..604cb87dac32963620645a8739198cdc6a5359ab 100644 --- a/CEP/GSM/src/gsmutils.py +++ b/CEP/GSM/src/gsmutils.py @@ -6,7 +6,6 @@ # ------------------------------------------------------------------------------ import sys, string -import pylab import numpy as np import monetdb.sql as db import logging @@ -456,6 +455,7 @@ SELECT t0.v_catsrcid cursor.close() def plotSpectrum(x, y, p, f): + import pylab expflux = "Exp. flux: " + str(round(10**p(0),3)) + " Jy" fig = pylab.figure() ax = fig.add_subplot(111)