From f739da3ad7adef575b8bac8cd1d3384763794eb7 Mon Sep 17 00:00:00 2001 From: Kakarot35 Date: Tue, 2 Jun 2026 11:20:14 +0530 Subject: [PATCH] fix: correct RST docstring formatting in GroupedLayerControl (fixes #2233) --- folium/plugins/groupedlayercontrol.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/folium/plugins/groupedlayercontrol.py b/folium/plugins/groupedlayercontrol.py index f1ce463163..c30400932d 100644 --- a/folium/plugins/groupedlayercontrol.py +++ b/folium/plugins/groupedlayercontrol.py @@ -13,13 +13,14 @@ class GroupedLayerControl(JSCSSMixin, MacroElement): ---------- groups : dict A dictionary where the keys are group names and the values are lists - of layer objects. E.g. - { - "Group 1": [layer1, layer2], - "Group 2": [layer3, layer4] - } + of layer objects. For example:: - exclusive_groups: bool, default True + { + "Group 1": [layer1, layer2], + "Group 2": [layer3, layer4] + } + + exclusive_groups : bool, default True Whether to use radio buttons (default) or checkboxes. If you want to use both, use two separate instances of this class. **kwargs