반응형
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
- Apache
- numpy
- list
- matplotlib
- PySpark
- PostgreSQL
- dataframe
- math
- django
- PANDAS
- Google Spreadsheet
- gas
- Python
- Redshift
- hive
- Mac
- Excel
- SQL
- array
- 파이썬
- Tkinter
- c#
- string
- Kotlin
- GIT
- Java
- Github
- Google Excel
- google apps script
Archives
- Today
- Total
목록Named Color (1)
달나라 노트
Python matplotlib : matplotlib.colors.CSS4_COLORS (Color Keyword, Named Color)
matplotlib를 이용하다 보면 그래프의 색깔, 점의 색깔 등 다양한 곳에서 색상을 지정해야 하는 상황이 있습니다. 이때 Color hex code를 이용해서 색상을 지정할 수도 있지만 미리 특정 색상을 keyword와 연결지어서 네이밍을 해둔 색상들이 있습니다. 물론 존재하는 모든 색상에 대해 이런 keyword가 있는 것은 아니고 matplotlib에서 지원하는 색상값들이 있습니다. import matplotlib dict_colors = matplotlib.colors.CSS4_COLORS print(dict_colors) -- Result {'aliceblue': '#F0F8FF', 'antiquewhite': '#FAEBD7', 'aqua': '#00FFFF', 'aquamarine': '#..
Python/Python matplotlib
2024. 3. 29. 19:26