movie_name = ['雷神3:诸神黄昏','正义联盟','东方快车谋杀案','寻梦环游记','全球风暴','降魔传','追捕','七十七天','密战','狂兽','其它']
x = range(len(movie_name))
y = [73853,57767,22354,15969,14839,8725,8716,8318,7916,6764,52222]
plt.figure(figsize=(20, 8), dpi=100)
plt.bar(x, y, width=0.5, color=['b','r','g','y','c','m','y','k','c','g','b'])
plt.xticks(x, movie_name,fontsize=7)
plt.grid(linestyle="--", alpha=0.5)
plt.title("电影票房收入对比")
plt.show()
这个代码跑出来横坐标显示不出中文,是哪里出了问题