From 03dae0a40516837008e1976b1d9b3202f631522c Mon Sep 17 00:00:00 2001 From: Martin Fleischmann Date: Tue, 18 Jun 2024 21:34:11 +0200 Subject: [PATCH] DOC: expose get_nearest_node, fix fmt (#616) --- docs/api.rst | 2 +- docs/legacy_api.rst | 1 + momepy/functional/_diversity.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 6b187c34..9298d27d 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -40,8 +40,8 @@ And tools linking various elements together. :toctree: api/ get_nearest_street + get_nearest_node get_network_ratio - get_node_id Measuring dimension ------------------- diff --git a/docs/legacy_api.rst b/docs/legacy_api.rst index f390b309..edbacfdc 100644 --- a/docs/legacy_api.rst +++ b/docs/legacy_api.rst @@ -17,6 +17,7 @@ elements Blocks get_network_id + get_node_id Tessellation dimension diff --git a/momepy/functional/_diversity.py b/momepy/functional/_diversity.py index 2843ef70..fc66f597 100644 --- a/momepy/functional/_diversity.py +++ b/momepy/functional/_diversity.py @@ -950,6 +950,7 @@ def percentile( 4 621.834862 641.987211 709.472695 Optionally, you can specify which percentile values shall be computed. + >>> momepy.percentile(buildings.area, knn5, q=[10, 90]).head() 10 90 focal