Properly rephrase
This commit is contained in:
parent
e617a5e5c1
commit
4767f07717
1 changed files with 2 additions and 2 deletions
|
|
@ -87,12 +87,12 @@ class Pixel(meta.Base):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def side_length(self) -> int:
|
def side_length(self) -> int:
|
||||||
"""The length of one side of a pixel in meters."""
|
"""Alias of `.grid.side_length`."""
|
||||||
return self.grid.side_length
|
return self.grid.side_length
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def area(self) -> float:
|
def area(self) -> float:
|
||||||
"""The area of a pixel in square kilometers."""
|
"""Alias of `.grid.pixel_area`."""
|
||||||
return self.grid.pixel_area
|
return self.grid.pixel_area
|
||||||
|
|
||||||
@functools.cached_property
|
@functools.cached_property
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue