To remove frame in figure, I write
frameon=False
works perfect with pyplot.figure, but with matplotlib.Figure it
pyplot.figure
matplotlib.Figure
plt.axis('off') plt.savefig(file_path, bbox_inches="tight", pad_inches = 0)
plt.savefig has those options in itself, just need to set axes off before