반응형
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
- hive
- PANDAS
- c#
- PostgreSQL
- Mac
- SQL
- django
- dataframe
- gas
- array
- Github
- PySpark
- Python
- 파이썬
- list
- numpy
- math
- matplotlib
- Excel
- Redshift
- GIT
- Google Excel
- Java
- Tkinter
- string
- google apps script
- Google Spreadsheet
- Kotlin
- Apache
Archives
- Today
- Total
목록clear figure (1)
달나라 노트

matplotlib에서는 clf, cla라는 method가 있습니다. clf method는 clf method가 적용된 그래프의 figure를 지웁니다. figure를 지운다고 하니까 좀 의미가 와닿지 않는데, 좀 더 간단하게 말하면 그래프 / 좌표평면 / title / x label / y label / xlim / ylim 등 모든걸 지운다고 보시면 됩니다. cla method는 좌표평면을 제외한 내용을 지워줍니다. 따라서 cla method를 적용한 그래프에는 좌표평면만 남고 좌표평면 자체를 제외한 모든 것(그래프 / title / x label / y label / xlim / ylim 등)이 지워집니다. import matplotlib.pyplot as plt list_x = [0, 1, 2, ..
Python/Python matplotlib
2022. 1. 19. 20:01