Contour label positioning

Hello group,

I am trying to align contour labels on my plot. Using the latest git clone I was able to position the labels somewhat nicer than the default positioning.

(Following from )

However, it requires manual specification of right data coords to create this plot and it is not easy to align them properly.

Is there a mechanism to position and align labels on a specified line? See the linked image for better demonstration.