参考:matplotlib公式のArtist tutorial JP matplotlibでプロットの背景の色や透明度の設定方法: >>> import matplotlib.pyplot as plt >>> fig = plt.figure() # Figure >>> ax = fig.add_subplot(211) # Axes >>> fig.patch.set_facecolor('blue') # 図全体の背景色 >>> fig.patch.set_alpha(0.5) # 図全体の背景透明度 >>> ax.patch.set_facecolor('green') # subplotの背景色 >>> ax.patch.set_alpha(0.3) # subplotの背景透明度 subplotの緑色の透明度が0.3と低いので図全体の背景色の青に負けていますね EN How