自定义子图布局
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
fig=plt.figure(constrained_layout=False)
gs=fig.add_gridspec(nrows=3,ncols=3,left=0.05,right=0.48,wspace=0.3)
#left,right调整子图在整个figure上的位置,这样做和constrained_layout=True/figure.tight_out冲突
#添加自定义的子图所占区域
f_ax1=fig.add_subplot(gs[:-1,:])
f_ax2=fig.add_subplot