import folium
print(folium.__file__)
print(folium.__version__)
/home/filipe/.virtualenvs/iris/lib/python2.7/site-packages/folium/__init__.py 0.2.0
lon = -(41 + 20/60. + 17/60/60.)
lat = -(20 + 59/60. + 35/60/60.)
min_lat, max_lat = -25, -15
min_lon, max_lon = -45, -35
mapa = folium.Map(location=[lat, lon], zoom_start=4)
mapa
mapa.fit_bounds([[min_lat, min_lon], [max_lat, max_lon]])
mapa
folium.Marker([-21.68, -43.33]).add_to(mapa)
folium.Marker([-21.716667, -43.9]).add_to(mapa)
mapa.get_bounds()
[[-21.716667, -43.9], [-21.68, -43.33]]
mapa.fit_bounds(mapa.get_bounds())
mapa