Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8eafaab

Browse files
committed
DOC: add note about contouring algorithm
1 parent 3d94620 commit 8eafaab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/contour.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,4 +1771,9 @@ def _initialize_x_y(self, z):
17711771
17721772
except for the lowest interval, which is closed on both sides (i.e.
17731773
it includes the lowest value).
1774+
1775+
3. `.contour` and `.contourf` use a `marching squares
1776+
<https://en.wikipedia.org/wiki/Marching_squares>`_ algorithm to
1777+
compute contour locations. More information can be found in
1778+
the source ``src/_contour.h``.
17741779
"""

0 commit comments

Comments
 (0)