見出し画像

Pythonでハイセンスなグラフ作成〜matplotlibスタイル一覧

ほぼ自分の学習記録のためですが、pythonのグラフ描画に使うmatplotlib。このグラフスタイルのギャラリーです。

初学者の方のご参考になれば幸いです🏃‍♂️

使えるスタイルを表示

print(plt.style.available)
'seaborn-dark',
'seaborn-darkgrid',
'seaborn-ticks',
'fivethirtyeight',
'seaborn-whitegrid',
'classic',
'_classic_test',
'fast',
'seaborn-talk',
'seaborn-dark-palette',
'seaborn-bright',
'seaborn-pastel',
'grayscale',
'seaborn-notebook',
'ggplot',
'seaborn-colorblind',
'seaborn-muted',
'seaborn',
'Solarize_Light2',
'seaborn-paper',
'bmh',
'seaborn-white',
'dark_background',
'seaborn-poster',
'seaborn-deep'

データは下記から取得

各値にこれと言った意味はありません。

plt.style.use('seaborn-dark')

画像1

plt.style.use('seaborn-darkgrid')

画像2

plt.style.use('seaborn-ticks')

画像3

plt.style.use('fivethirtyeight')

画像4

plt.style.use('seaborn-whitegrid')

画像5

plt.style.use('classic')

画像6

plt.style.use('_classic_test')

画像7

plt.style.use('fast')

画像8

plt.style.use('seaborn-talk')

画像9

plt.style.use('seaborn-dark-palette')

画像10

plt.style.use('seaborn-bright')

画像11

plt.style.use('seaborn-pastel')

画像12

plt.style.use('grayscale')

画像13

plt.style.use('seaborn-notebook')

画像14

plt.style.use('ggplot')

画像15

plt.style.use('seaborn-colorblind')

画像16

plt.style.use('seaborn-muted')

画像17

plt.style.use('seaborn')

画像18

plt.style.use('Solarize_Light2')

画像19

plt.style.use('seaborn-paper')

画像20

plt.style.use('bmh')

画像21

plt.style.use('seaborn-white')

画像22

plt.style.use('dark_background')

画像23

plt.style.use('seaborn-poster')

画像24

plt.style.use('seaborn-deep')

画像25

参考にさせていただいたサイト


貴重なお時間で読んでいただいてありがとうございます。 感謝の気持ちで、いっPython💕