import matplotlib
import matplotlib.pyplot as plt
from matplotlib.font_manager import *
myfont = FontProperties(fname=r'/usr/share/fonts/SourceHanSansCN-Normal.otf')
plt.plot([1,2,3])
plt.xlabel("1栋A座",fontproperties=myfont)
import matplotlib
import matplotlib.pyplot as plt
from matplotlib.font_manager import *
myfont = FontProperties(fname=r'/usr/share/fonts/SourceHanSansCN-Normal.otf')
plt.plot([1,2,3])
plt.xlabel("1栋A座",fontproperties=myfont)