MCPcopy
hub / github.com/python-visualization/folium / __init__

Method __init__

folium/features.py:1388–1408  ·  view source on GitHub ↗
(
        self,
        fields: Sequence[str],
        aliases: Optional[Sequence[str]] = None,
        labels: bool = True,
        style: str = "margin: auto;",
        class_name: str = "foliumpopup",
        localize: bool = True,
        **kwargs: TypeJsonValue,
    )

Source from the content-addressed store, hash-verified

1386 )
1387
1388 def __init__(
1389 self,
1390 fields: Sequence[str],
1391 aliases: Optional[Sequence[str]] = None,
1392 labels: bool = True,
1393 style: str = "margin: auto;",
1394 class_name: str = "foliumpopup",
1395 localize: bool = True,
1396 **kwargs: TypeJsonValue,
1397 ):
1398 super().__init__(
1399 fields=fields,
1400 aliases=aliases,
1401 labels=labels,
1402 localize=localize,
1403 class_name=class_name,
1404 style=style,
1405 )
1406 self._name = "GeoJsonPopup"
1407 kwargs.update({"class_name": self.class_name})
1408 self.popup_options = kwargs
1409
1410
1411class Choropleth(FeatureGroup):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected