반응형
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
- gas
- list
- Github
- math
- Python
- hive
- numpy
- Java
- PySpark
- SQL
- GIT
- Kotlin
- Tkinter
- Mac
- matplotlib
- string
- PostgreSQL
- Redshift
- dataframe
- Apache
- PANDAS
- array
- Excel
- c#
- google apps script
- Google Excel
- 파이썬
- Google Spreadsheet
- django
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