PNG image not being displayed on Folium map
问题 I ran this folium example of image display on folium map from here. I ran this program on my spyder though it works fine on jupyter import numpy as np import pandas as pd import numpy.ma as ma import folium def make_data(): x = np.linspace(-np.pi, np.pi, 101) sin = np.sin(x) cos = np.cos(x) cos[20:50] = np.NaN return pd.DataFrame(np.asanyarray([sin, cos]).T, columns=['sin', 'cos'], index=x) df = make_data() resolution, width, height = 75, 7, 3 station = '42' lon, lat = -42, -21 m = folium.Map