Skip to content

Commit a8186c7

Browse files
committed
bounds can be None
1 parent 39a56d9 commit a8186c7

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
@@ -1698,7 +1698,7 @@ def points(self, points):
16981698
self._values = points
16991699

17001700
@property
1701-
def bounds(self) -> RealData:
1701+
def bounds(self) -> Optional[RealData]:
17021702
"""
17031703
The coordinate bounds values, as a NumPy array,
17041704
or None if no bound values are defined.
@@ -1824,7 +1824,7 @@ def core_points(self) -> RealOrLazyData:
18241824
"""
18251825
return super()._core_values()
18261826

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

0 commit comments

Comments
 (0)