0

I cannot find a way to save my graphs and images. I have tried from

from PIL import Image
im = Image.fromarray()
im.save("your_file.jpeg")

but doesn't work!

adir abargil
  • 4,784
  • 1
  • 16
  • 23
Hassan
  • 15
  • 5

1 Answers1

0

Please format your code correctly, it is important for readability and python is intend-sensitive. Also, there is already a post for this problem:

How can I save an image with PIL?

MD98
  • 150
  • 9
  • i do add ''' speech marks but it never formats. How do i do it properly? Also, this answer isn;t saving my graphs – Hassan Oct 22 '20 at 20:30