我正在做回归分析,并画出了残差和误差。
# create a model
bgr = create_model('gbr')
# residuals plot
plot_model(gbr, plot = 'residuals')
# errors plot
plot_model(gbr, plot = 'error')有没有办法把这两张图并排画出来?
发布于 2021-06-16 21:14:26
试试plt.subplots()。查看此处:https://matplotlib.org/stable/gallery/subplots_axes_and_figures/subplots_demo.html
https://stackoverflow.com/questions/62866151
复制相似问题