source: issm/oecreview/Archive/15392-16133/ISSM-15489-15490.diff@ 16134

Last change on this file since 16134 was 16134, checked in by Mathieu Morlighem, 12 years ago

Added Archive/15392-16133

File size: 874 bytes
  • ../trunk-jpl/src/m/plot/plotmodel.py

     
    5050               
    5151                #Create figure
    5252                #plots will be visible by default if ipython is run in interactive mode (invoked by ipython --pylab)
     53                #UNLESS plotmodel is called within a script (e.g. a runme.py file)
    5354                #handling the 'visible' option will need some check on whether ipython is currently in interactive or non-interactive mode
    5455
    5556                #if figsize specified
     
    6465                        plot_manager(options.list[i].getfieldvalue('model',md),options.list[i],subplotwidth,nlines,ncols,i+1)
    6566                #except StandardError:
    6667                #       print 'error in plot_manager'
     68                p.show()
    6769        else:
    6870                raise StandardError('plotmodel error message: no output data found.')
Note: See TracBrowser for help on using the repository browser.