Say I want to plot a very simple figure with 2-subplot laid out horizontally, and I want to add some text on the right of the second subplot. I am working in Jupyter Noteboo
Adding bbox_inches="tight" to the savefig **kwargs will do it:
bbox_inches="tight"
plt.savefig(r'C:\mypy\test_graph.png', ext='png', bbox_inches="tight")
Saved file: