MCPcopy Create free account
hub / github.com/python-visualization/folium / __init__

Method __init__

folium/plugins/beautify_icon.py:87–115  ·  view source on GitHub ↗
(
        self,
        icon=None,
        icon_shape=None,
        border_width=3,
        border_color="#000",
        text_color="#000",
        background_color="#FFF",
        inner_icon_style="",
        spin=False,
        number=None,
        **kwargs
    )

Source from the content-addressed store, hash-verified

85 ]
86
87 def __init__(
88 self,
89 icon=None,
90 icon_shape=None,
91 border_width=3,
92 border_color="#000",
93 text_color="#000",
94 background_color="#FFF",
95 inner_icon_style="",
96 spin=False,
97 number=None,
98 **kwargs
99 ):
100 super().__init__()
101 self._name = "BeautifyIcon"
102
103 self.options = remove_empty(
104 icon=icon,
105 icon_shape=icon_shape,
106 border_width=border_width,
107 border_color=border_color,
108 text_color=text_color,
109 background_color=background_color,
110 inner_icon_style=inner_icon_style,
111 spin=spin,
112 isAlphaNumericIcon=number is not None,
113 text=number,
114 **kwargs
115 )

Callers

nothing calls this directly

Calls 1

remove_emptyFunction · 0.90

Tested by

no test coverage detected