Rev | Line | |
---|
[16134] | 1 | Index: ../trunk-jpl/src/m/plot/plotmodel.py
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/plot/plotmodel.py (revision 15489)
|
---|
| 4 | +++ ../trunk-jpl/src/m/plot/plotmodel.py (revision 15490)
|
---|
| 5 | @@ -50,6 +50,7 @@
|
---|
| 6 |
|
---|
| 7 | #Create figure
|
---|
| 8 | #plots will be visible by default if ipython is run in interactive mode (invoked by ipython --pylab)
|
---|
| 9 | + #UNLESS plotmodel is called within a script (e.g. a runme.py file)
|
---|
| 10 | #handling the 'visible' option will need some check on whether ipython is currently in interactive or non-interactive mode
|
---|
| 11 |
|
---|
| 12 | #if figsize specified
|
---|
| 13 | @@ -64,5 +65,6 @@
|
---|
| 14 | plot_manager(options.list[i].getfieldvalue('model',md),options.list[i],subplotwidth,nlines,ncols,i+1)
|
---|
| 15 | #except StandardError:
|
---|
| 16 | # print 'error in plot_manager'
|
---|
| 17 | + p.show()
|
---|
| 18 | else:
|
---|
| 19 | raise StandardError('plotmodel error message: no output data found.')
|
---|
Note:
See
TracBrowser
for help on using the repository browser.