Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 41b7a80

Browse files
committed
update matplotlib guide
1 parent 8e12999 commit 41b7a80

File tree

2 files changed

+83
-6
lines changed

2 files changed

+83
-6
lines changed

‎README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ matplotlib의 경우에는 인터랙티브하게 사용할 수 있으나 보통
1616
| -------------- | ------------------------------------- | ------------------------------------------------------ | -------------------------------------------------- | --- |
1717
| **matplotlib** | 가장 기본적인 시각화 라이브러리 | [matplotlib](https://matplotlib.org/) | [github](https://github.com/matplotlib/matplotlib) | O |
1818
| **seaborn** | matplotlib을 베이스로하는 통계 시각화 | [seaborn](http://seaborn.pydata.org/) | [github](https://github.com/mwaskom/seaborn) | O |
19-
| **plotnine** | ggplot2을 사용할 수 있는 라이브러리 | [plotnine](https://plotnine.readthedocs.io/en/stable/) | [gituhub](https://github.com/has2k1/plotnine) | X |
19+
| **plotnine** | ggplot2을 사용할 수 있는 라이브러리 | [plotnine](https://plotnine.readthedocs.io/en/stable/) | [github](https://github.com/has2k1/plotnine) | X |
2020

2121
### Interactive
2222

@@ -29,7 +29,7 @@ matplotlib의 경우에는 인터랙티브하게 사용할 수 있으나 보통
2929
| **plotly** | | [plotly](https://plot.ly/python/) | [github](https://github.com/plotly/plotly.py) | O |
3030
| **bokeh** | | [bokeh](https://bokeh.org/) | [github](https://github.com/bokeh/bokeh) | O |
3131
| **altair** | | [altair](https://altair-viz.github.io/) | [github](https://github.com/altair-viz/altair) | O |
32-
| **pygal** | | [pygal](http://www.pygal.org/en/stable/) | [github](https://github.com/Kozea/pygal) | x |
32+
| **pygal** | | [pygal](http://www.pygal.org/en/stable/) | [github](https://github.com/Kozea/pygal) | X |
3333
| **pyecharts** | | [pyecharts](https://pyecharts.org/) | [github](https://github.com/pyecharts/pyecharts/) | X |
3434

3535
### Network
@@ -39,7 +39,7 @@ matplotlib의 경우에는 인터랙티브하게 사용할 수 있으나 보통
3939
| Name | Description | Documentation | Github | use |
4040
| ----------------- | ----------- | ------------------------------------------------------------ | ------------------------------------------------- | --- |
4141
| **networkx** | | [networkx](https://networkx.github.io/documentation/stable/) | [github](https://github.com/networkx/networkx) | O |
42-
| **python-igraph** | | [python-igraph](https://igraph.org/python/) | [github](https://github.com/igraph/python-igraph) | x |
42+
| **python-igraph** | | [python-igraph](https://igraph.org/python/) | [github](https://github.com/igraph/python-igraph) | X |
4343

4444
### Geo
4545

@@ -48,8 +48,8 @@ matplotlib의 경우에는 인터랙티브하게 사용할 수 있으나 보통
4848
| Name | Description | Documentation | Github | use |
4949
| -------------- | ------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | --- |
5050
| **folium** | leaflet.js | [folium](https://python-visualization.github.io/folium/) | [github](https://github.com/python-visualization/folium) | O |
51-
| **geopandas** | | [geopandas](https://geopandas.readthedocs.io/en/latest/) | [github](https://github.com/geopandas/geopandas) | x |
52-
| **googlemaps** | 구글 지도 API | [googlemaps](https://googlemaps.github.io/google-maps-services-python/docs/index.html) | [github](https://github.com/googlemaps/google-maps-services-python) | x |
51+
| **geopandas** | | [geopandas](https://geopandas.readthedocs.io/en/latest/) | [github](https://github.com/geopandas/geopandas) | X |
52+
| **googlemaps** | 구글 지도 API | [googlemaps](https://googlemaps.github.io/google-maps-services-python/docs/index.html) | [github](https://github.com/googlemaps/google-maps-services-python) | X |
5353

5454
### Specific
5555

@@ -71,7 +71,7 @@ matplotlib의 경우에는 인터랙티브하게 사용할 수 있으나 보통
7171
| ------------ | --------------- | ------------------------------------------------------------- | ------------------------------------------- | --- |
7272
| **SHAP** | Shapley + @ | [SHAP](https://shap.readthedocs.io/en/latest/#) | [github](https://github.com/slundberg/shap) | O |
7373
| **dtreeviz** | 결정트리 시각화 | [dtreeviz](https://explained.ai/decision-tree-viz/index.html) | [github](https://github.com/parrt/dtreeviz) | O |
74-
| **LIME** | | [LIME](https://lime-ml.readthedocs.io/en/latest/lime.html) | [github](https://github.com/marcotcr/lime) | x |
74+
| **LIME** | | [LIME](https://lime-ml.readthedocs.io/en/latest/lime.html) | [github](https://github.com/marcotcr/lime) | X |
7575

7676

7777
### 데이터를 다루는 라이브러리

‎matplotlib/README.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Matplotlib
2+
3+
> [Official tutorial](https://matplotlib.org/tutorials/index.html)를 베이스로 만든 내용입니다.
4+
5+
각 내용은 jupyter notebook으로 만들 예정입니다.
6+
7+
## 기초
8+
9+
> 이것만 알아도 기본은 먹고 들어간다!
10+
11+
### 1. matplotlib 입문
12+
13+
기본적인 문법 연습과 matplotlib를 가볍게 살펴봅시다.
14+
15+
- 기본적인 plot 3가지 (line, bar, scatter)
16+
- API의 이해
17+
- Figure와 Axes
18+
- 색과 테마
19+
- Text의 종류와 위치
20+
21+
### 2. matplotlib의 다양한 시각화
22+
23+
matplotlib에서 제공하는 여러 함수를 사용하며 시각화에 대한 시야를 넓혀봅시다.
24+
25+
- 다양한 plot (1) : hist
26+
- 다양한 plot (2) : box plot, violin plot
27+
- 다양한 plot (3) : heatmap, countour, colorbar
28+
- 다양한 plot (4) : pie chart, polar axis
29+
- 다양한 plot (4) : stream plot
30+
- 다양한 plot (5) : 3D
31+
32+
### 3. matplotlib 활용도 높이기
33+
34+
간단하지만 좋은 기능을 모아봤습니다.
35+
36+
- Plot의 Lifecycle
37+
- Layout 가이드
38+
- rcParams 사용하기
39+
- 이미지 파일 읽기
40+
- Pandas에서 사용하기
41+
42+
## 심화
43+
44+
> plot깎는 개발자가 되어 완성된 plot을 만들어보자!
45+
46+
### 4. 더 잘 설명하기 위한 Text & Path
47+
48+
제목, 축, 설명 등 여러 text요소를 활용합시다.
49+
50+
- 텍스트에서 custom할 수 있는 요소
51+
- bbox로 텍스트 감싸기
52+
- 수식 쓰기
53+
- Path 사용하기
54+
55+
### 5. 더 이쁜 시각화를 위한 Color & Theme
56+
57+
기본 theme만 벗어나도 고수처럼 보일 수 있습니다.
58+
59+
- colormaps 이해하기
60+
- theme 활용
61+
62+
### 6. 더 깔끔하게 그리기 위한 Subplot들
63+
64+
Dashboard처럼 차트들을 나눠봅시다.
65+
66+
- plot 여러개 그리기 (1) : Gridspecs
67+
- plot 여러개 그리기 (2) : Imagegrid
68+
- plot안에 plot 그리기 : inset_axes, make_axes_locatable
69+
70+
### 7. Matplotlib 고인물되기
71+
72+
- Animation
73+
- Interactive
74+
75+
76+
77+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /