Skip to content

Commit 0361de4

Browse files
committed
bounds can be None
1 parent 1093f71 commit 0361de4

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
@@ -1452,7 +1452,7 @@ def points(self, points):
14521452
self._values = points
14531453

14541454
@property
1455-
def bounds(self) -> RealData:
1455+
def bounds(self) -> Optional[RealData]:
14561456
"""
14571457
The coordinate bounds values, as a NumPy array,
14581458
or None if no bound values are defined.
@@ -1578,7 +1578,7 @@ def core_points(self) -> RealOrLazyData:
15781578
"""
15791579
return super()._core_values()
15801580

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

0 commit comments

Comments
 (0)