How to save an image to computer


I want to save the image below to my computer but don’t know how. Attached is a screenshot of code and image. Any ideas? Thanks!

(I_trimmed is an Array{Float32,2}, the rest are PyObject)


you can use savefig("name.png") - similar to pyplot — Matplotlib 2.0.2 documentation

Hey fgerick, thanks for your response. I read the linked documentation. Though I’m not sure that will work. The image that I have does not have a filename. It is a combination of an image with quivers on it… I need to somehow save this image as an object and then save that object… Any other pointers would be greatly appreciated!?