解决TypeError: FigureBase.subplot_mosaic() got an unexpected keyword argument ‘dpi‘
我的解决办法是将dpi参数移动到figure里报错代码:fig=plt.figure()sfigs=fig.subfigures(2,1)axs1=sfigs[1].subplot_mosaic([['wna-ori','wna-occ','eu-ori','eu-occ','ea-ori']],gridspec_kw={'width_ratios':[len(i)foriingroup_set]