Changeset 1047

Show
Ignore:
Timestamp:
06/20/08 14:32:11 (2 months ago)
Author:
dmitrey.kroshko
Message:

minor bugfix: turning graphics output off if pylab not installed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openopt/scikits/openopt/Kernel/ooGraphics.py

    r1040 r1047  
    5252    def oodraw(self, p): #note that self is same as p.graphics 
    5353        if problemsWithPylab: 
    54             if p.iter <= 1: p.warn('to use OpenOpt graphics you need pylab (Python module) installed. Turning graphics off...') 
     54            p.warn('to use OpenOpt graphics you need pylab (Python module) installed. Turning graphics off...') 
     55            p.plot = 0 
    5556            return 
    5657