matplotlib/matplotlib — pull request #2809 by bwkeller (2014-02-13 21:33:18+00:00)
Title: BUGFIX:  This change fixes #2475

Adding contour labels added manually produce ugly spikes in the contours. The problem was that screen
coordinates were being passed as data coordinates when the contour was split to add room for the label. xcmin in the add_label_near() method should contain data coordinates, and if transform=False was used (as it does in the BlockingContourLabeler), they were left in screen coordinates, causing the new vertices of the clipped contours to be in the wrong location.