python-visualization / branca

This library is a spinoff from folium, that would host the non-map-specific features.
https://python-visualization.github.io/branca/
MIT License
110 stars 63 forks source link

Make all Element with Template pickable natively #144

Closed BastienGauthier closed 8 months ago

BastienGauthier commented 9 months ago

Add the template_str attribute to be able to recover the Element after unpickling thanks to __setstate__ (needed to pickle Map in folium https://github.com/python-visualization/folium/pull/1812).

BastienGauthier commented 8 months ago

Ok here too !