matplotlib.pyplot 图形大小修改

时间:2021-07-15 14:59:20

标签: matplotlib

我似乎无法增加输出的大小,我需要帮助! 我试过其他尺寸,但尺寸总是错误

PLOT

    fig, axs = plt.subplots(2)

    
    # create accuracy sublpot
    axs[0].plot(history.history["accuracy"], label="train accuracy")
    axs[0].plot(history.history["val_accuracy"], label="test accuracy")
  ....
    

    # create error sublpot
    axs[1].plot(history.history["loss"], label="train error")
    axs[1].plot(history.history["val_loss"], label="test error")
....

    plt.show()

0 个答案:

没有答案
相关问题