pylab.show() if environment variable SHOW is set

This commit is contained in:
Roman Zeyde
2014-07-04 20:03:28 +03:00
parent f740cae064
commit cb7e237434

View File

@@ -162,4 +162,6 @@ def main(fname):
if __name__ == '__main__':
main('rx_.int16')
pylab.show()
import os
if os.environ.get('SHOW') is not None:
pylab.show()