saving a barplot in python to a file in the directory code example Example: how to save plot in python In [5]: plt.savefig('books_read.png')