Skip to content

Commit 4a3c441

Browse files
committed
bounds can be None
1 parent f1a3d06 commit 4a3c441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iris/coords.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ def points(self, points):
16781678
self._values = points
16791679

16801680
@property
1681-
def bounds(self) -> RealData:
1681+
def bounds(self) -> Optional[RealData]:
16821682
"""
16831683
The coordinate bounds values, as a NumPy array,
16841684
or None if no bound values are defined.
@@ -1822,7 +1822,7 @@ def core_points(self) -> RealOrLazyData:
18221822
"""
18231823
return super()._core_values()
18241824

1825-
def core_bounds(self) -> RealOrLazyData:
1825+
def core_bounds(self) -> Optional[RealOrLazyData]:
18261826
"""
18271827
The points array at the core of this coord, which may be a NumPy array
18281828
or a dask array.

0 commit comments

Comments
 (0)