#导入模块
import matplotlib.pyplot as plt
import numpy as np
#准备数据
#三部电影的名称
real_names=['千与千寻','玩具总动员4','黑衣人:全球追缉']
#3天内票房书
real_num1=[7548,4013,1673]
real_num2=[5453,1840,1080]
real_num3=[4348,2345,1890]
x=np.arange(len(real_names))
#绘制柱状图
width=0.3
plt