From 6040f42af3e4e630971092157b1bacf5e937ec4b Mon Sep 17 00:00:00 2001 From: BastienGauthier <108142642+BastienGauthier@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:49:49 +0100 Subject: [PATCH] Improve docstring preview readibility in features.py (#1833) * Improve docstring preview readibility in features.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- folium/features.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/folium/features.py b/folium/features.py index 2ed24612a..d09cf6e7e 100644 --- a/folium/features.py +++ b/folium/features.py @@ -468,6 +468,7 @@ class GeoJson(Layer): * If `__geo_interface__` is available, the `__geo_interface__` dictionary will be serialized to JSON and reprojected if `to_crs` is available. + style_function: function, default None Function mapping a GeoJson Feature to a style dict. highlight_function: function, default None @@ -883,6 +884,7 @@ class TopoJson(JSCSSMixin, Layer): * If dict, then data will be converted to JSON and embedded in the JavaScript. * If str, then data will be passed to the JavaScript as-is. + object_path: str The path of the desired object into the TopoJson structure. Ex: 'objects.myobject'. @@ -1818,6 +1820,7 @@ class CustomIcon(Icon): output file. * If array-like, it will be converted to PNG base64 string and embedded in the output. + icon_size : tuple of 2 int, optional Size of the icon image in pixels. icon_anchor : tuple of 2 int, optional