First of all, this is a really cool project that allowed me to do this:

as you can see some of the labels are clipping outside of the image though and I do not really know how to fix this. Playing around with different parameters eventually got me this (using xvals=0.8) but I do not understand why this works. So some documentation there might be helpful

First of all, this is a really cool project that allowed me to do this:

as you can see some of the labels are clipping outside of the image though and I do not really know how to fix this. Playing around with different parameters eventually got me this (using
xvals=0.8) but I do not understand why this works. So some documentation there might be helpful