- Timestamp:
- 06/20/2008 09:44:45 AM (7 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/fipy/viewers/matplotlibViewer/matplotlib2DViewer.py
r2475 r2606 6 6 # 7 7 # FILE: "matplotlib2DViewer.py" 8 # created: 9/14/04 {2:48:25 PM} 9 # last update: 10/6/07 {7:58:36 PM} { 2:45:36 PM} 8 # 10 9 # Author: Jonathan Guyer <guyer@nist.gov> 11 10 # Author: Daniel Wheeler <daniel.wheeler@nist.gov> … … 131 130 132 131 if self._getLimit('xmin') is None: 133 xmin = min(numerix.array(self.collection._verts)[:,:,0].flat)132 xmin = xCoords.min() 134 133 else: 135 134 xmin = self._getLimit('xmin') 136 135 137 136 if self._getLimit('xmax') is None: 138 xmax = max(numerix.array(self.collection._verts)[:,:,0].flat)137 xmax = xCoords.max() 139 138 else: 140 139 xmax = self._getLimit('xmax') 141 140 142 141 if self._getLimit('ymin') is None: 143 ymin = min(numerix.array(self.collection._verts)[:,:,1].flat)142 ymin = yCoords.min() 144 143 else: 145 144 ymin = self._getLimit('ymin') 146 145 147 146 if self._getLimit('ymax') is None: 148 ymax = max(numerix.array(self.collection._verts)[:,:,1].flat)147 ymax = yCoords.max() 149 148 else: 150 149 ymax = self._getLimit('ymax')
FiPy: A Finite Volume PDE Solver Using Python