Python Matplotlib Forcing Contour Labels Within Image Limits Stack

Python Matplotlib Forcing Contour Labels Within Image Limits Stack