I\'ve got some code where I\'m using MPL (not pyplot) via imshow() to show some arrays and then am using savefig() to save them as PNG files.
imshow()
savefig()