_flush_plot = None
_final_flush_plot = None
_pylab = None
+def _dummy_fn(): pass
def _import_pylab() :
"""Import pylab plotting functions for when we need to plot. This
if config.PYLAB_INTERACTIVE :
_flush_plot = _pylab.draw
else :
- def _flush_plot () : pass
+ _flush_plot = _pylab.show #_dummy_fn
if _final_flush_plot == None :
if config.PYLAB_INTERACTIVE :
_final_flush_plot = _pylab.draw
else :
- _final_flush_plot = _pylab.show
+ _final_flush_plot = _dummy_fn # _pylab.show
def write_array(ofile, array, seperator):
"""Erite an iterable array seperated by seperator.