Changeset 17402


Ignore:
Timestamp:
03/10/14 08:15:46 (11 years ago)
Author:
cborstad
Message:

CHG: clear any previous plot window for re-plotting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plotmodel.py

    r15490 r17402  
    4545                raise StandardError('error: nlines and ncols need to be specified together, or not at all')
    4646       
    47        
    4847        #Go through plots
    4948        if numberofplots:
     
    5352                #UNLESS plotmodel is called within a script (e.g. a runme.py file)
    5453                #handling the 'visible' option will need some check on whether ipython is currently in interactive or non-interactive mode
     54
     55                #clear any previous plot window
     56                p.clf()
    5557
    5658                #if figsize specified
Note: See TracChangeset for help on using the changeset viewer.