Ignore:
Timestamp:
Apr 6, 2013, 7:13:07 PM (12 years ago)
Author:
steve
Message:

Changes to reading pts file using netcdf4

Location:
trunk/anuga_core/source/anuga/geometry
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/geometry

    • Property svn:ignore set to
      .python_cache
  • trunk/anuga_core/source/anuga/geometry/polygon.py

    r8361 r8819  
    723723    """
    724724
    725     from pylab import ion, hold, plot, savefig, xlabel, \
     725    from pylab import ion, ioff, hold, plot, savefig, xlabel, \
    726726                      ylabel, title, close, title, fill
    727727
     
    777777        savefig('test_image')
    778778
     779    ioff()
     780    hold(False)
    779781    close('all')
    780782
  • trunk/anuga_core/source/anuga/geometry/test_polygon.py

    r8341 r8819  
    17811781        plot_polygons([polygon1, polygon2], figname='test1')
    17821782
     1783        import pylab
     1784        pylab.close('all')
     1785
    17831786        # Another case
    17841787        polygon3 = [[1,5], [10,1], [100,10], [50,10], [3,6]]
    17851788        plot_polygons([polygon2, polygon3], figname='test2')
     1789
     1790        pylab.close('all')
    17861791
    17871792        for file in ['test1.png', 'test2.png']:
Note: See TracChangeset for help on using the changeset viewer.