Skip to content

Commit 8820c40

Browse files
committed
bounds can be None
1 parent 28d1311 commit 8820c40

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
@@ -1682,7 +1682,7 @@ def points(self, points):
16821682
self._values = points
16831683

16841684
@property
1685-
def bounds(self) -> RealData:
1685+
def bounds(self) -> Optional[RealData]:
16861686
"""
16871687
The coordinate bounds values, as a NumPy array,
16881688
or None if no bound values are defined.
@@ -1808,7 +1808,7 @@ def core_points(self) -> RealOrLazyData:
18081808
"""
18091809
return super()._core_values()
18101810

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

0 commit comments

Comments
 (0)