반응형
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
- PySpark
- Github
- google apps script
- PANDAS
- SQL
- Excel
- numpy
- Java
- Google Excel
- Kotlin
- math
- list
- Tkinter
- Google Spreadsheet
- matplotlib
- Redshift
- string
- array
- c#
- Python
- hive
- Apache
- PostgreSQL
- Mac
- GIT
- django
- dataframe
- 파이썬
Archives
- Today
- Total
목록matplotlibe (1)
달나라 노트
matplotlib에서는 원형 그래프인 pie chart를 그리는 기능도 제공합니다. import matplotlib.pyplot as plt labels = ['Cake', 'Chocolate', 'Candy', 'Macaroon', 'Waffle'] values = [20, 35, 10, 50, 20] plt.pie(values, labels=labels) plt.show() 사용법은 굉장히 간단합니다. value를 list에 담고 각 value들에 대한 수치(label)를 list에 담아서 pie method에 전달해주면 됩니다. import matplotlib.pyplot as plt labels = ['Cake', 'Chocolate', 'Candy', 'Macaroon', 'Waffle'] v..
Python/Python matplotlib
2022. 1. 17. 22:46
