Closed paulswartz closed 2 years ago
This is a bit tricky, since this adds .render()
calls that weren't there before. That means we're potentially adding computations that are not necessary. This could be a significant burden if we're rendering many many elements.
To be continued.
Looking a bit more into it, I don't see this change working. Rendering the parent of MacroElement does nothing, it just outputs an empty template. I'll comment more in the PR on folium.
Follow-up ticket to python-visualization/folium#1459 to return the HTML from
Element.render()
.