Skip to content

Latest commit

ย 

History

History
59 lines (41 loc) ยท 1.73 KB

File metadata and controls

59 lines (41 loc) ยท 1.73 KB

Matplotlib

Official tutorial๋ฅผ ๋ฒ ์ด์Šค๋กœ ๋งŒ๋“  ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค.

๊ฐ ๋‚ด์šฉ์€ jupyter notebook์œผ๋กœ ๋งŒ๋“ค ์˜ˆ์ •์ž…๋‹ˆ๋‹ค.

์ „์ฒด์ ์ธ ๋‚ด์šฉ์ด ์™„์„ฑ๋˜๊ธฐ ์ „๊นŒ์ง€๋Š” ํ‘œํ˜„์ด ์‚ด์ง raw ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • ์ด ๋‚ด์šฉ์„ ๋ณด๊ธฐ์ „์— pandas๋‚˜ numpy ํŠœํ† ๋ฆฌ์–ผ(TBD)์„ ๋จผ์ € ๋ณด๋ฉด ์ข‹์Šต๋‹ˆ๋‹ค.
  • ์ œ๋ชฉ์— link + bold์ฒ˜๋ฆฌ๋Š” 1์ฐจ ์™„๋ฃŒํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค.

1. matplotlib์™€ ์‹œ๊ฐํ™” ์ดํ•ดํ•˜๊ธฐ

2. matplotlib์˜ ๋‹ค์–‘ํ•œ ์‹œ๊ฐํ™” ๋ฐฉ๋ฒ•

  • 2-1. ๋‹ค์–‘ํ•œ plot (1) : hist
  • 2-2. ๋‹ค์–‘ํ•œ plot (2) : box plot, violin plot
  • 2-3. ๋‹ค์–‘ํ•œ plot (3) : heatmap, countour, colorbar
  • 2-4. ๋‹ค์–‘ํ•œ plot (4) : pie chart, polar axis
  • 2-5. ๋‹ค์–‘ํ•œ plot (4) : stream plot
  • 2-6. ๋‹ค์–‘ํ•œ plot (5) : 3D

3. ๋” ์ข‹์€ ์„ค๋ช…์„ ์œ„ํ•œ ์—ฌ๋Ÿฌ ์š”์†Œ

  • 3-1. Text params
  • 3-2. Grid
  • 3-3. Axis
  • 3-4. Path

4. ๋” ์ด์œ ์‹œ๊ฐํ™”๋ฅผ ์œ„ํ•œ Color

  • 4-1. color
  • 4-2. choose colormaps
  • 4-3. create colormaps

5. ์™„์„ฑ๋œ ์‹œ๊ฐํ™”๋ฅผ ์œ„ํ•œ ์ •๋ ฌ

  • 5-1. plot ์—ฌ๋Ÿฌ๊ฐœ ๊ทธ๋ฆฌ๊ธฐ (1) : Gridspecs
  • 5-2. plot ์—ฌ๋Ÿฌ๊ฐœ ๊ทธ๋ฆฌ๊ธฐ (2) : Imagegrid
  • 5-3. plot์•ˆ์— plot ๊ทธ๋ฆฌ๊ธฐ : inset_axes, make_axes_locatable

6. Settings & Custom

  • 6-1. rcParams
  • 6-2. theme ํ™œ์šฉ
  • 6-3. custom theme

7. Interactive & Animation

  • 7-1. Animation
  • 7-2. Interactive