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

Method __init__

folium/plugins/pattern.py:49–72  ·  view source on GitHub ↗
(
        self,
        angle=0.5,
        weight=4,
        space_weight=4,
        color="#000000",
        space_color="#ffffff",
        opacity=0.75,
        space_opacity=0.0,
        **kwargs
    )

Source from the content-addressed store, hash-verified

47 ]
48
49 def __init__(
50 self,
51 angle=0.5,
52 weight=4,
53 space_weight=4,
54 color="#000000",
55 space_color="#ffffff",
56 opacity=0.75,
57 space_opacity=0.0,
58 **kwargs
59 ):
60 super().__init__()
61 self._name = "StripePattern"
62 self.options = remove_empty(
63 angle=angle,
64 weight=weight,
65 space_weight=space_weight,
66 color=color,
67 space_color=space_color,
68 opacity=opacity,
69 space_opacity=space_opacity,
70 **kwargs
71 )
72 self.parent_map = None
73
74 def render(self, **kwargs):
75 self.parent_map = get_obj_in_upper_tree(self, Map)

Callers 1

__init__Method · 0.45

Calls 1

remove_emptyFunction · 0.90

Tested by

no test coverage detected