folium
folium copied to clipboard
Cleanup MacroElements
During an earlier change, I noted that many MacroElement subclasses do not fully use the templating facilities of their parent class.
This PR makes the code more internally consistent by using the template route where possible. I skipped the DualMap, Vega and Vegalite classes because I do not fully understand what is happening there.