반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Mac
- matplotlib
- array
- gas
- 파이썬
- Apache
- Python
- dataframe
- list
- google apps script
- hive
- string
- PANDAS
- Tkinter
- Redshift
- Java
- PySpark
- django
- Google Spreadsheet
- Github
- PostgreSQL
- Kotlin
- c#
- GIT
- math
- Google Excel
- numpy
- SQL
- Excel
Archives
- Today
- Total
목록Python/Python matplotlib (33)
달나라 노트
Python matplotlib : pyplot (Python으로 그래프 그리기)
Python의 matplotlib를 이용하면 Python에서 그래프를 그릴 수 있습니다. import matplotlib.pyplot as plt list_x = [1, 2, 3, 4, 5] list_y = [10, 30, 15, 20, 5] plt.plot(list_x, list_y, color='skyblue', marker='o', markerfacecolor='blue', markersize=12) plt.title('Test graph') plt.xlabel('date') plt.ylabel('amount') plt.show() plt.close() 위같은 코드를 작성하여 실행하면 아래 이미지와 같은 결과를 얻을 수 있습니다. 그래프를 그릴 수 있죠. 그러면 위 코드를 한번 해석해봅시다. imp..
Python/Python matplotlib
2021. 7. 26. 21:41