반응형
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
- string
- Presto
- math
- Kotlin
- google apps script
- array
- Google Excel
- dataframe
- Redshift
- GIT
- PostgreSQL
- Github
- SQL
- Apache
- matplotlib
- Python
- c#
- Java
- numpy
- list
- django
- gas
- Tkinter
- hive
- Google Spreadsheet
- Excel
- PANDAS
- PySpark
- 파이썬
Archives
- Today
- Total
목록stacked bar (1)
달나라 노트
matplotlib의 bar method를 가지고 stacked bar graph를 그릴 수 있습니다. (bar method = https://cosmosproject.tistory.com/427) import matplotlib.pyplot as plt import numpy as np arr_bottom = np.array([0, 0, 0, 0]) list_x = ['2021', '2022', '2023', '2024'] arr_row_1 = np.array([34, 86, 94, 20]) arr_row_2 = np.array([59, 4, 98, 93]) plt.bar(list_x, arr_row_1, bottom=arr_bottom, width=0.5, color='pink') arr_bottom..
Python/Python matplotlib
2024. 4. 10. 02:00