import folium
from IPython.core.display import display, HTML
import tempfile

def folium_ipython_show(m):
    tmp_output_filename = tempfile.NamedTemporaryFile(suffix='.html').name
    m.save(tmp_output_filename)

    f = open(tmp_output_filename, "r")
    data = f.read()
    data_fixed_width = data.replace('width: 100%;height: 100%', 'width: 100%').replace('height: 100.0%;', 'height: 609px;')
    display(HTML(data_fixed_width))
folium_ipython_show(folium.Map(location=[42.079391, -87.815622], zoom_start=13))
<!DOCTYPE html>
m3 = folium.Map(location=[42.079391, -87.815622], zoom_start=12, tiles="Stamen Terrain")

folium_ipython_show(m3)
<!DOCTYPE html>
m4 = folium.Map(location=[42.079391, -87.815622], zoom_start=12, tiles="Stamen Terrain")

folium_ipython_show(m4)
<!DOCTYPE html>
m5 = folium.Map(location=[42.079391, -87.815622], tiles="Stamen Toner", zoom_start=13)

folium_ipython_show(m5)
<!DOCTYPE html>