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

Skip to content

documentation fix regarding contour and tricontour (#9088) #9472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Oct 18, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
documenation fix related to #9088
  • Loading branch information
verginer committed Oct 18, 2017
commit 29835775f221c3ee6fdf872fb5e3410feccb29ad
4 changes: 3 additions & 1 deletion lib/matplotlib/contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,9 @@ def _initialize_x_y(self, z):
contour(Z,N)
contour(X,Y,Z,N)

contour up to *N* automatically-chosen levels.
contour up to *N+1* automatically-chosen levels.
If exactly *N* levels are required either *V* or an
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*V* is described right below. I'd favour either just the first sentence or maybe even:

contour up to *N+1* automatically chosed contour levels (*N* intervals).

Just to make it not seem like we are bonkers to have this convention.

optional :class:`~matplotlib.ticker.Locator` can be passed.

::

Expand Down
4 changes: 3 additions & 1 deletion lib/matplotlib/tri/tricontour.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ def _contour_args(self, args, kwargs):

tricontour(..., Z, N)

contour *N* automatically-chosen levels.
contour up to *N+1* automatically-chosen levels.
If exactly *N* levels are required either *V* or an
optional :class:`~matplotlib.ticker.Locator` can be passed.

::

Expand Down