Pyplot 막대그래프

Jmnote (토론 | 기여)님의 2020년 1월 11일 (토) 13:08 판 (새 문서: ==개요== ;Pyplot 막대그래프 <source lang='python'> import matplotlib.pyplot as plt x = ['Jan','Feb','Mar','Thr','Fri','Sat','Sun'] sales = [314,159,265,358,979,323,846] plt.ba...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

Pyplot 막대그래프
import matplotlib.pyplot as plt
x = ['Jan','Feb','Mar','Thr','Fri','Sat','Sun']
sales = [314,159,265,358,979,323,846]
plt.bar(x, sales)
plt.show()

Pyplot-20190925-1.png


2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}