After adding
bbox_inches="tight"
to an invocation of plt.savefig that has worked for several years, I get
plt.savefig
In my experience, plt.tight_layout doesn't always work but plt.savefig('fig.png',bbox_inches='tight') does. In addition, you don't need the former after using the latter and I have come to the conclusion after some pretty extensive testing of it.
plt.tight_layout
plt.savefig('fig.png',bbox_inches='tight')