Save an image in matplotlib which is both square (n_pixel x n_pixel) and without padding

前端 未结 0 1670
有刺的猬
有刺的猬 2021-02-07 02:50

I want to save an image as a square (having the same number of pixels in the 2 dimensions). I also want it to be saved without any padding on the side. For this, the following c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题