use PYLAB=1 for plotting

This commit is contained in:
Roman Zeyde
2014-07-18 13:59:33 +03:00
parent 5ef7feb5d6
commit 963d2968c8

View File

@@ -13,7 +13,7 @@ import loop
import train
from common import *
if os.environ.get('PYLAB') is not None:
if os.environ.get('PYLAB') == '1':
import pylab
import show
WIDTH = np.floor(np.sqrt(len(frequencies)))