Skip to content

Commit 1eebe2a

Browse files
committed
bounds can be None
1 parent 9e9117f commit 1eebe2a

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
@@ -1664,7 +1664,7 @@ def points(self, points):
16641664
self._values = points
16651665

16661666
@property
1667-
def bounds(self) -> RealData:
1667+
def bounds(self) -> Optional[RealData]:
16681668
"""
16691669
The coordinate bounds values, as a NumPy array,
16701670
or None if no bound values are defined.
@@ -1790,7 +1790,7 @@ def core_points(self) -> RealOrLazyData:
17901790
"""
17911791
return super()._core_values()
17921792

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

0 commit comments

Comments
 (0)