Skip to content

Commit 6040f42

Browse files
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>
1 parent 84459ba commit 6040f42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

folium/features.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ class GeoJson(Layer):
468468
* If `__geo_interface__` is available, the `__geo_interface__`
469469
dictionary will be serialized to JSON and
470470
reprojected if `to_crs` is available.
471+
471472
style_function: function, default None
472473
Function mapping a GeoJson Feature to a style dict.
473474
highlight_function: function, default None
@@ -883,6 +884,7 @@ class TopoJson(JSCSSMixin, Layer):
883884
* If dict, then data will be converted to JSON and embedded
884885
in the JavaScript.
885886
* If str, then data will be passed to the JavaScript as-is.
887+
886888
object_path: str
887889
The path of the desired object into the TopoJson structure.
888890
Ex: 'objects.myobject'.
@@ -1818,6 +1820,7 @@ class CustomIcon(Icon):
18181820
output file.
18191821
* If array-like, it will be converted to PNG base64 string
18201822
and embedded in the output.
1823+
18211824
icon_size : tuple of 2 int, optional
18221825
Size of the icon image in pixels.
18231826
icon_anchor : tuple of 2 int, optional

0 commit comments

Comments
 (0)