Index: ../trunk-jpl/src/m/plot/plotmodel.py =================================================================== --- ../trunk-jpl/src/m/plot/plotmodel.py (revision 15489) +++ ../trunk-jpl/src/m/plot/plotmodel.py (revision 15490) @@ -50,6 +50,7 @@ #Create figure #plots will be visible by default if ipython is run in interactive mode (invoked by ipython --pylab) + #UNLESS plotmodel is called within a script (e.g. a runme.py file) #handling the 'visible' option will need some check on whether ipython is currently in interactive or non-interactive mode #if figsize specified @@ -64,5 +65,6 @@ plot_manager(options.list[i].getfieldvalue('model',md),options.list[i],subplotwidth,nlines,ncols,i+1) #except StandardError: # print 'error in plot_manager' + p.show() else: raise StandardError('plotmodel error message: no output data found.')