Matplotlib関連

グラフ間の描画領域を調整する

import matplotlib.pyplot as plt
plt.figure()

#それぞれ0.0~1.0の実数で指定
#left   : 描画領域左端
#right  : 描画領域右端
#bottom : 描画領域下端
#top    : 描画領域上端
plt.subplots_adjust(left=left, right=right, bottom=bottom, top=top)
スポンサーリンク