반응형
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 |
Tags
- gas
- list
- Python
- Apache
- PANDAS
- PySpark
- Presto
- Java
- string
- GIT
- PostgreSQL
- google apps script
- django
- dataframe
- SQL
- Redshift
- c#
- Google Spreadsheet
- matplotlib
- hive
- Tkinter
- Google Excel
- Kotlin
- array
- math
- Github
- 파이썬
- Excel
- numpy
Archives
- Today
- Total
목록itck_params (1)
달나라 노트
import matplotlib.pyplot as plt list_x_1 = [1, 2, 3, 4, 5, 6, 7, 8] list_y_1 = [10, 2, 8, 4, 6, 5, 6, 4] plt.plot(list_x_1, list_y_1, color='skyblue', marker='o', markerfacecolor='blue', markersize=6) plt.tick_params(axis='y', labelcolor='blue') plt.show() plot을 이용해 그래프를 그리면 기본적으로 x축과 y축 라벨은 검은색으로 적히게됩니다. 그런데 tick_params method를 이용하면 위 이미지처럼 축의 라벨 색상을 바꿀 수 있습니다. plt.tick_params(axis='y', labelco..
Python/Python matplotlib
2022. 1. 12. 23:46