Skip to content

Commit f0c6464

Browse files
authored
fix: correct RST docstring formatting in GroupedLayerControl (fixes #2233) (#2234)
1 parent e7371df commit f0c6464

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

folium/plugins/groupedlayercontrol.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ class GroupedLayerControl(JSCSSMixin, MacroElement):
1313
----------
1414
groups : dict
1515
A dictionary where the keys are group names and the values are lists
16-
of layer objects. E.g.
17-
{
18-
"Group 1": [layer1, layer2],
19-
"Group 2": [layer3, layer4]
20-
}
16+
of layer objects. For example::
2117
22-
exclusive_groups: bool, default True
18+
{
19+
"Group 1": [layer1, layer2],
20+
"Group 2": [layer3, layer4]
21+
}
22+
23+
exclusive_groups : bool, default True
2324
Whether to use radio buttons (default) or checkboxes.
2425
If you want to use both, use two separate instances of this class.
2526
**kwargs

0 commit comments

Comments
 (0)