scipy: savefig without frames, axes, only content
Asked 07 September, 2021
Viewed 2.1K times
  • 69
Votes

In numpy/scipy I have an image stored in an array. I can display it, I want to save it using savefig without any borders, axes, labels, titles,... Just pure image, nothing else.

I want to avoid packages like PyPNG or scipy.misc.imsave, they are sometimes problematic (they do not always install well, only basic savefig() for me

12 Answer