반응형
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 |
Tags
- PostgreSQL
- gas
- 파이썬
- PySpark
- Python
- GIT
- Google Excel
- Tkinter
- string
- Kotlin
- SQL
- Mac
- django
- Github
- Apache
- math
- google apps script
- list
- Excel
- Java
- numpy
- PANDAS
- array
- matplotlib
- c#
- Google Spreadsheet
- hive
- Redshift
- dataframe
Archives
- Today
- Total
목록graph image (1)
달나라 노트
Python matplotlib : savefig (그래프를 이미지로 만들기)
matplotlib에서 그래프를 그리는 방법은 아래 링크를 참고하면 됩니다. https://cosmosproject.tistory.com/341 이번에는 그린 그래프를 이미지 파일로 생성해볼건데 savefig method를 사용할 것입니다. import matplotlib.pyplot as plt list_x_values = [1, 2, 3, 4, 5] list_y_values = [10, 30, 15, 20, 5] plt.figure(linewidth=5) plt.plot(list_x_values, list_y_values, color='skyblue', marker='o', markerfacecolor='blue', markersize=12) plt.title('Test graph') plt.xlab..
Python/Python matplotlib
2022. 1. 2. 02:00