Skip to content

Commit

Permalink
Improve docstring preview readibility in features.py (#1833)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
BastienGauthier and pre-commit-ci[bot] authored Nov 17, 2023
1 parent 84459ba commit 6040f42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions folium/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6040f42

Please sign in to comment.