반응형
alias
# matplotlib 별칭
import matplotlib.pyplot as plt
import matplotlib.font_manager as fm
matplotlib
import matplotlib.pyplot as plt
1.figure
도화지 생성
plt.figure()
2. plot
선 그래프
# label1이라는 범례이름으로 데이터를 표시하라
plt.plot(history_data['col'], label='label1')
3. title
제목
plt.title("Title")
4. xlabel, ylabel
x축, y축
plt.xlabel("xlabel")
5. show
그래프 그리기
plt.show()
6. legend
범례정보 표시
plt.legend()
반응형
'Career > AI Associate' 카테고리의 다른 글
| AICE Associate 2026년 합격 후기|2주 준비하고 직접 시험 본 후기 (0) | 2026.08.07 |
|---|---|
| AICE Associate 요약 #4 - tensorflow 핵심 문법 정리 (0) | 2026.08.07 |
| AICE Associate 요약 #3 - sklearn 핵심 문법 정리 (0) | 2026.08.07 |
| AICE Associate 요약 #2 - seaborn 핵심 문법 정리 (0) | 2026.08.07 |
| AICE Associate 요약 #1 - pandas 핵심 문법 정리 (0) | 2026.08.07 |
댓글