jupyter notebook export image code example
Example 1: save image from jupyter notebook
plt.savefig('output.png', dpi=300, bbox_inches='tight')
Example 2: save image from jupyter notebook
fig.tight_layout()
plt.savefig('output.png', dpi=300)
plt.savefig('output.png', dpi=300, bbox_inches='tight')
fig.tight_layout()
plt.savefig('output.png', dpi=300)