• home
  • about
  • 全ての投稿
  • ソフトウェア・ハードウェアの設定のまとめ
  • 分析関連のまとめ
  • ヘルスケア関連のまとめ
  • 生涯学習関連のまとめ

rain cloud plot

date: 2021-01-02 excerpt: rain cloud plot

tag: 可視化matplotseabornrain cloud plot


rain cloud plot

概要

  • matplotをラップした可視化ライブラリ
    1. box plotとバイオリンプロットを合成したもの
    2. 分布の形とboxの性質の2つがわかって丁度いい

install

$ pip install ptitprince

使い方

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import ptitprince

fig, ax = plt.subplots(figsize=(12, 10))
ptitprince.RainCloud(data=df, ax=ax, orient='v')
plt.xticks(rotation=90)

fig.tight_layout()

詳細はgistのjupyter linkへ



可視化matplotseabornrain cloud plot Share Tweet