We've updated our documentation. You can find the new version of this notebook here: https://python-visualization.github.io/folium/latest/user_guide/plugins/polyline_textpath_and_antpath.html