mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
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:
@@ -51,7 +51,7 @@ class SpatialMap(Generic[ValueType]):
|
|||||||
def insert(
|
def insert(
|
||||||
self, regions_and_values: Iterable[tuple[Region, bool, ValueType]]
|
self, regions_and_values: Iterable[tuple[Region, bool, ValueType]]
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Insert values in to the Spatial map.
|
"""Insert values into the Spatial map.
|
||||||
|
|
||||||
Values are associated with their region in Euclidean space, and a boolean that
|
Values are associated with their region in Euclidean space, and a boolean that
|
||||||
indicates fixed regions. Fixed regions don't scroll and are always visible.
|
indicates fixed regions. Fixed regions don't scroll and are always visible.
|
||||||
|
|||||||
Reference in New Issue
Block a user