Image format - Viewer - 2024-02-27-09-42

I saved an image in python mathplotlib using the function matplotlib.pyplot.savefig(‘filename.png’) but later i cant open the image file since it is showing that unsupported format

Image loading failed.
at Aspose.Imaging.Image.#=zvP4Pa8Gl7_7i(StreamContainer #=z8PMxOJG2b4nQ, LoadOptions #=z8nzV1sC$8WQR, #=z7Jcgi10WF$kfldwPMds_gfJLjq561U6h5kAch78= #=zpcKk7QI=)
at Aspose.Imaging.Image.#=zaWo4RLg=(Stream #=z$SUgLhQ=, LoadOptions #=z8nzV1sC$8WQR, #=z7Jcgi10WF$kfldwPMds_gfJLjq561U6h5kAch78= #=zpcKk7QI=)
at Aspose.Imaging.Image.Load(Stream stream)
at CrossProduct.Services.InputDocumentFactory.Create(String filename, String outputExtension, MemoryStream content, InputDocumentSettings settings) in C:\viewersource\CrossProduct\Services\InputDocumentFactory.cs:line 143
at fileformat_viewer.Controllers.api.BaseController.<>c__DisplayClass49_0.<b__0>d.MoveNext() in C:\viewersource\apps\FileFormat.Viewer\Controllers\api\BaseController.cs:line 762
— End of stack trace from previous location —
at fileformat_viewer.Controllers.api.BaseController.LoadDocument(String filename, String outputExtension, MemoryStream content, InputDocumentSettings settings, CancellationTokenSource cancellationTokenSource) in C:\viewersource\apps\FileFormat.Viewer\Controllers\api\BaseController.cs:line 772
at fileformat_viewer.Controllers.api.BaseController.<>c__DisplayClass34_1.<b__1>d.MoveNext() in C:\viewersource\apps\FileFormat.Viewer\Controllers\api\BaseController.cs:line 379
— End of stack trace from previous location —
at fileformat_viewer.Controllers.api.BaseController.UploadDocumentsCommon(IEnumerable`1 files, InputDocumentSettings settings) in C:\viewersource\apps\FileFormat.Viewer\Controllers\api\BaseController.cs:line 382
at fileformat_viewer.Controllers.api.BaseController.UploadDocuments(InputDocumentSettings settings) in C:\viewersource\apps\FileFormat.Viewer\Controllers\api\BaseController.cs:line 410
files.zip (9.06 KB)

Please use valid file. Your file is corrupt.