import matplotlib.pyplot as plt # 그래프 주석 plt.legend('사과','파인애플'] # 그래프 출력 plt.show # 막대그래프 plt.plot( [x] , y , color='color' ) # x는 생략가능