Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
DOC: Lowercase some parameter names#23995
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -83,8 +83,8 @@ def _contour_args(self, args, kwargs): | ||
Call signatures:: | ||
%%(func)s(triangulation,z, [levels], ...) | ||
%%(func)s(x, y,z, [levels], *, [triangles=triangles], [mask=mask], ...) | ||
The triangular grid can be specified either by passing a `.Triangulation` | ||
object as the first parameter, or by passing the points *x*, *y* and | ||
@@ -93,7 +93,7 @@ def _contour_args(self, args, kwargs): | ||
*triangles* are given, the triangulation is calculated on the fly. | ||
It is possible to pass *triangles* positionally, i.e. | ||
``%%(func)s(x, y, triangles,z, ...)``. However, this is discouraged. For more | ||
clarity, pass *triangles* via keyword argument. | ||
Parameters | ||
@@ -105,7 +105,7 @@ def _contour_args(self, args, kwargs): | ||
Parameters defining the triangular grid. See `.Triangulation`. | ||
This is mutually exclusive with specifying *triangulation*. | ||
z : array-like | ||
The height values over which the contour is drawn. Color-mapping is | ||
controlled by *cmap*, *norm*, *vmin*, and *vmax*. | ||
@@ -157,20 +157,20 @@ def _contour_args(self, args, kwargs): | ||
This parameter is ignored if *colors* is set. | ||
origin : {*None*, 'upper', 'lower', 'image'}, default: None | ||
Determines the orientation and exact position of *z* by specifying the | ||
position of ``z[0, 0]``. This is only relevant, if *X*, *Y* are not given. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. What about There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Interestingly, It's a bit hard to see that The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Good catch! What I meant though is that is seems like it should maybe be lower case x and y as well here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Yeah, my point was that this part of the docs doesn’t make sense either way and anyway will be removed soon. So it does not matter whether we change X and Y or not. | ||
- *None*: ``z[0, 0]`` is at X=0, Y=0 in the lower left corner. | ||
- 'lower': ``z[0, 0]`` is at X=0.5, Y=0.5 in the lower left corner. | ||
- 'upper': ``z[0, 0]`` is at X=N+0.5, Y=0.5 in the upper left corner. | ||
- 'image': Use the value from :rc:`image.origin`. | ||
extent : (x0, x1, y0, y1), optional | ||
If *origin* is not *None*, then *extent* is interpreted as in `.imshow`: it | ||
gives the outer pixel boundaries. In this case, the position ofz[0, 0] is | ||
the center of the pixel, not a corner. If *origin* is *None*, then | ||
(*x0*, *y0*) is the position ofz[0, 0], and (*x1*, *y1*) is the position | ||
ofz[-1, -1]. | ||
This argument is ignored if *X* and *Y* are specified in the call to | ||
contour. | ||