-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Many docstring cleanups. #17150
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
Many docstring cleanups. #17150
Conversation
lib/matplotlib/tri/triinterpolate.py
Outdated
@@ -287,7 +286,7 @@ def _interpolate_single_key(self, return_key, tri_index, x, y): | ||
|
||
class CubicTriInterpolator(TriInterpolator): | ||
r""" | ||
A CubicTriInterpolator performs cubic interpolation on triangular grids. | ||
Cubic interpolator on triangular grids. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cubic interpolator on triangular grids. | |
Cubic interpolator on a triangular grid. |
Like in LinearTriInterpolator
above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor issue. Anybody can merge after fixing it.
handled, and put in a few more. |
lib/matplotlib/__init__.py
Outdated
@@ -192,7 +192,7 @@ def _ensure_handler(): | ||
|
||
def set_loglevel(level): | ||
""" | ||
Sets the Matplotlib's root logger and root logger handler level, creating | ||
Set the Matplotlib's root logger and root logger handler level, creating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set the Matplotlib's root logger and root logger handler level, creating | |
Set Matplotlib's root logger and root logger handler level, creating |
lib/matplotlib/colors.py
Outdated
Combines an rgb image with an intensity map using "soft light" | ||
blending. Uses the "pegtop" formula. | ||
Combine an rgb image with an intensity map using "soft light" blending, | ||
with the "pegtop" formula. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the "pegtop" formula. | |
using the "pegtop" formula. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...aside from one grammar mistake, and one suggestion
Mostly D401 ("imperative mood"), and a few others.
handled |
Mostly D401 ("imperative mood"), and a few others.
PR Summary
PR Checklist