Skip to content

Commit 4ab3dd9

Browse files
author
Brian Mattern
committed
mention contour plot label positioning in whats_new.rst
1 parent 2cfb857 commit 4ab3dd9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/users/whats_new.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ Andrew Dawson added the ability to add axes titles flush with the left and
9393
right sides of the top of the axes using a new keyword argument `loc` to
9494
:func:`~matplotlib.pyplot.title`.
9595

96+
Improved manual contour plot label positioning
97+
----------------------------------------------
98+
99+
Brian Mattern modified the manual contour plot label positioning code to
100+
interpolate along line segments and find the actual closest point on a
101+
contour to the requested position. Previously, the closest path vertex was
102+
used, which, in the case of straight contours was sometimes quite distant
103+
from the requested location. Much more precise label positioning is now
104+
possible.
105+
96106
.. _whats-new-1-2:
97107

98108
new in matplotlib-1.2

0 commit comments

Comments
 (0)