Skip to content

Commit 68082f0

Browse files
committed
bounds can be None
1 parent 3c67d81 commit 68082f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iris/coords.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ def points(self, points):
15901590
self._values = points
15911591

15921592
@property
1593-
def bounds(self) -> RealData:
1593+
def bounds(self) -> Optional[RealData]:
15941594
"""Coordinate bounds values.
15951595
15961596
The coordinate bounds values, as a NumPy array,
@@ -1726,7 +1726,7 @@ def core_points(self) -> RealOrLazyData:
17261726
"""Core points array at the core of this coord, which may be a NumPy array or a dask array."""
17271727
return super()._core_values()
17281728

1729-
def core_bounds(self) -> RealOrLazyData:
1729+
def core_bounds(self) -> Optional[RealOrLazyData]:
17301730
"""Core bounds. The points array at the core of this coord, which may be a NumPy array or a dask array."""
17311731
result = None
17321732
if self.has_bounds():

0 commit comments

Comments
 (0)