# リスト5.8.1:style一覧を出力する
import matplotlib.pyplot as plt
plt.style.available
['bmh', 'classic', 'dark_background', 'fivethirtyeight', 'ggplot', 'grayscale', 'seaborn-bright', 'seaborn-colorblind', 'seaborn-dark-palette', 'seaborn-dark', 'seaborn-darkgrid', 'seaborn-deep', 'seaborn-muted', 'seaborn-notebook', 'seaborn-paper', 'seaborn-pastel', 'seaborn-poster', 'seaborn-talk', 'seaborn-ticks', 'seaborn-white', 'seaborn-whitegrid', 'seaborn', '_classic_test']
# リスト5.8.2:fivethirtyeightスタイルで描画
plt.style.use("fivethirtyeight")
fig = plt.figure()
ax = fig.add_subplot(111)
dat = [1, 3]
ax.plot(dat)
plt.show()