Python Matplotlib errors with savefig (newbie).

后端 未结 3 527
小蘑菇
小蘑菇 2021-01-28 18:15

All parts of Python on my computer were recently installed from the Enthought academic package, but use Pyscripter for editing and running code. I\'m very early in my learning

3条回答
  •  [愿得一人]
    2021-01-28 18:29

    The following worked for me when I was running a neural network on my windows machine:

     image_path = 'A:/DeepLearning/Padhai/MLFlow/images/%s.png' % (expt_id)
            plt.savefig(image_path)
    

    Or otherwise refer:

    Using 'r' in front of the path

提交回复
热议问题