반응형
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
- 파이썬
- Google Spreadsheet
- numpy
- matplotlib
- Java
- Excel
- hive
- PostgreSQL
- c#
- array
- Mac
- GIT
- dataframe
- Google Excel
- django
- string
- Kotlin
- SQL
- gas
- google apps script
- Tkinter
- list
- Apache
- PySpark
- math
- Redshift
- PANDAS
- Github
- Python
Archives
- Today
- Total
목록figsize (1)
달나라 노트
Python matplotlib : figure figsize (그래프 크기 조절하기)
import matplotlib.pyplot as plt list_x_1 = [ '20220101', '20220102', '20220103', '20220104', '20220105', '20220106', '20220107', '20220108', '20220109' ] list_y_1 = [1, 10, 2, 9, 3, 8, 4, 7, 5] plt.plot(list_x_1, list_y_1, color='skyblue', marker='o', markerfacecolor='blue', markersize=6) plt.show() 위 코드로 그래프를 그렸습니다. 그래프는 잘 그려진 것 같습니다만 x축 값들이 너무 길어서 서로 겹쳐보이죠. 이러면 좀 보기가 안좋습니다. 이럴때는 xticks를 이용해서 x..
Python/Python matplotlib
2022. 1. 14. 19:43