So speichern Sie die Matplotlib -Figur in PNG
In [5]: plt.savefig('books_read.png')
Black Backed Magpie
In [5]: plt.savefig('books_read.png')
fig.write_image("images/fig1.png")