Skip to content

Commit af84640

Browse files
committed
bounds can be None
1 parent c71190a commit af84640

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
@@ -1711,7 +1711,7 @@ def points(self, points):
17111711
self._values = points
17121712

17131713
@property
1714-
def bounds(self) -> RealData:
1714+
def bounds(self) -> Optional[RealData]:
17151715
"""
17161716
The coordinate bounds values, as a NumPy array,
17171717
or None if no bound values are defined.
@@ -1837,7 +1837,7 @@ def core_points(self) -> RealOrLazyData:
18371837
"""
18381838
return super()._core_values()
18391839

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

0 commit comments

Comments
 (0)