LoginSignup
0
1

More than 1 year has passed since last update.

Matplotlib定量比較-箱ひげ図

Posted at

箱ひげ図とは

箱ひげ図はデータの分布に関する追加情報を示すものです。
分布の中央値、四分位値の範囲、データの約99%の予想範囲がわかります。
範囲を超える異常値は強調されます。

簡単な箱ひげ図

import matplotlib.pyplot as plt

fig, ax = plt.subplots()

ax.boxplot([data01['colName'], data02['colName']])

ax.set_xticklabels(['Data01', 'Data02'])
ax.set_ylabel('Col Name')

plt.show()

image.png

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1