save matplotlib figure as interactive code example Example: save matplotlib figure plt.savefig('image.png')