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

Skip to content

Commit a5c0164

Browse files
verginerjklymak
authored andcommitted
documentation fix regarding contour and tricontour (#9088) (#9472)
* fix contour/trucontour doc re number levels * Update contour.py * Update tricontour.py * Wrap long line * Wrap long line in tricontour * Fixes typo * Fixes typo
1 parent 075618b commit a5c0164

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/matplotlib/contour.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,8 @@ def _initialize_x_y(self, z):
16721672
contour(Z,N)
16731673
contour(X,Y,Z,N)
16741674
1675-
contour up to *N* automatically-chosen levels.
1675+
contour up to *N+1* automatically chosen contour levels
1676+
(*N* intervals).
16761677
16771678
::
16781679

lib/matplotlib/tri/tricontour.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ def _contour_args(self, args, kwargs):
132132
133133
tricontour(..., Z, N)
134134
135-
contour *N* automatically-chosen levels.
135+
contour up to *N+1* automatically chosen contour levels
136+
(*N* intervals).
136137
137138
::
138139

0 commit comments

Comments
 (0)