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

Function compare_rendered

folium/utilities.py:356–362  ·  view source on GitHub ↗

Return True/False if the normalized rendered version of two folium map objects are the equal or not.

(obj1: str, obj2: str)

Source from the content-addressed store, hash-verified

354
355
356def compare_rendered(obj1: str, obj2: str) -> bool:
357 """
358 Return True/False if the normalized rendered version of
359 two folium map objects are the equal or not.
360
361 """
362 return normalize(obj1) == normalize(obj2)
363
364
365def normalize(rendered: str) -> str:

Callers

nothing calls this directly

Calls 1

normalizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…