- Customization
- xlabel : x ์ถ์ ๋ผ๋ฒจ์ ์ง์ ํ ์ ์๋ค.
- ylabel : y ์ถ์ ๋ผ๋ฒจ์ ์ง์ ํ ์ ์๋ค.
- title : ์ด plot์ด ์ด๋ค๊ฑธ ๋ํ๋ด๋์ง ๊ทธ๋ํ์ ์ ๋ชฉ์ ์ง์ ํ ์ ์๋ค.
- yticks : ๋ชฉ๋ก์ผ๋ก ๊ฐ์ ๋ฐ์์์ผ ํ๋ฉฐ y์ถ์ ๋ฒ์๋ฅผ ์ง์ ํ๋ค.

- yticks : ๋ํ ์ด๋ ๊ฒ ๋ชฉ๋ก์ผ๋ก ๋ฐ์์จ ๋ฆฌ์คํธ์ ๊ธธ์ด์ ๊ฐ์ ๊ธธ์ด๋ก ์ถ๊ฐํด์ฃผ๋ฉด ๋๊ธ์ ์ด๋ฆ์ ์ง์ ํด์ค ์ ์๋ค.
(์ด๋ ์ด ๊ทธ๋ํ๋ ์ธ๊ตฌ์ ๊ด๋ จ๋ ๊ทธ๋ํ์ด๋ฏ๋ก B๋ Billions๋ฅผ ์๋ฏธํ๋ค.)

- add data
year = [1800, 1850, 1900] + year ๊ณผ ๊ฐ์ด ๊ธฐ์กด์ ๋ฐ์ดํฐ์ ๋ฐ์ดํฐ๋ฅผ ์ถ๊ฐํด์ฃผ๋ฉด ๋์ฑ ๋ช ํํ visualization์ ํ์ธํ ์ ์๋ค.

์ฌ๋ผ์ด๋ ์ถ์ฒ : Datacamp - Datascientist with python
https://campus.datacamp.com/courses/intermediate-python/matplotlib?ex=13
'๐ฉ๐ปโ๐ป DataScientist for Python > DataCamp' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| Intermediate Python 4 - Dictionary (0) | 2022.09.20 |
|---|---|
| Intermediate Python 3 - Scatter plot option (0) | 2022.09.19 |
| Intermediate Python 1 - Matplotlib (line plot, scatter plot, histogram) (0) | 2022.09.17 |
| Introduction to Python 7 - NumPy : Basic Statistics (0) | 2022.09.13 |
| Introduction to Python 6 - 2D NumPy Arrays (0) | 2022.09.13 |