Update src/textual/_spatial_map.py

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
This commit is contained in:
Will McGugan
2023-02-17 17:54:11 +00:00
committed by GitHub
parent af554ca1c4
commit c61e3bab1a

View File

@@ -73,7 +73,7 @@ class SpatialMap(Generic[ValueType]):
self.total_region = total_region self.total_region = total_region
def get_values_in_region(self, region: Region) -> list[ValueType]: def get_values_in_region(self, region: Region) -> list[ValueType]:
"""Get a set of values that are under a given region. """Get a superset of all the values that intersect with a given region.
Note that this may return false positives. Note that this may return false positives.