From 57475021fd09604bb5f8bf30997b9660942dac98 Mon Sep 17 00:00:00 2001 From: B-bater26 Date: Tue, 4 Aug 2026 19:19:24 -0400 Subject: [PATCH] Remove dead #map CSS rule from Map template The #map functioned as a selector, and the actual rendered ids of maps are formatted as map_. #{{ this.get_name() }} functions as the rule that handles map styles. #2229 PR deleted this, but #map remained due to folium.py being reverted upstream prior to merging, so it still causes 2186 to fail. After removing #map from the HTML styles in folium.py, test 2186 works. --- folium/folium.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/folium/folium.py b/folium/folium.py index 8983ce2721..edec9d972a 100644 --- a/folium/folium.py +++ b/folium/folium.py @@ -210,15 +210,6 @@ class Map(JSCSSMixin, Evented): } - -