In [1]:
import os
import folium


print(folium.__version__)
0.5.0+35.ge26b05f
In [2]:
from folium.plugins import Draw

m = folium.Map()

draw = Draw()

draw.add_to(m)

m.save(os.path.join('results', 'Draw0.html'))

m
Out[2]:
In [3]:
m = folium.Map(location=[-27.23, -48.36], zoom_start=12)

draw = Draw(export=True)

draw.add_to(m)

m.save(os.path.join('results', 'Draw1.html'))

m
Out[3]: