解决方案
from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt import matplotlib.cm as cm import numpy as np import matplotlib matplotlib.rcParams['font.sans-serif'] = ['Microsoft YaHei'] # 中文字体设置 matplotlib.rcParams['axes.unicode_minus'] = False