Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: Add docstrings to matplotlib.cbook.GrouperView#29617

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

Merged
timhoffm merged 7 commits intomatplotlib:mainfromstar1327p:add-docstring-cbook-api
Feb 14, 2025

Conversation

star1327p
Copy link
Contributor

PR summary

Add docstrings to matplotlib.cbook.GrouperView

image

PR checklist

@QuLogic
Copy link
Member

LGTM, but please fix the linting errors.

@timhoffm
Copy link
Member

The linting problem is that the original code was also not conforming (not sure why this is not flagged). It should be sufficient to introduce empty lines before the modified methods.

@star1327p
Copy link
ContributorAuthor

@QuLogic@timhoffm Thank you both for the comments! I have revised the linting parts, and hope this works!

Copy link
Member

@timhoffmtimhoffm left a comment

Choose a reason for hiding this comment

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

Sorry if our comments have not been clear.

Comment on lines 853 to 855
"""
Return whether *a* and *b* are members of the same set.
"""
Copy link
Member

Choose a reason for hiding this comment

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

This change is not necessary, in fact the original one conforms to our stylehttps://matplotlib.org/devdocs/devel/document.html#quote-positions. Please revert.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@timhoffm I manually changed it back in comment08982e9

Comment on lines 859 to 861
"""
Remove *a* from the grouper, doing nothing if it is not there.
"""
Copy link
Member

Choose a reason for hiding this comment

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

As above.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@timhoffm I manually changed it back in comment08982e9

star1327pand others added4 commitsFebruary 14, 2025 11:50
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
@timhoffmtimhoffm added this to thev3.10.1 milestoneFeb 14, 2025
@timhoffmtimhoffm merged commitf94fce6 intomatplotlib:mainFeb 14, 2025
38 of 41 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestFeb 14, 2025
@timhoffm
Copy link
Member

Thanks@star1327p and congratulations on your first contribution to Matplotlib! 🎉

star1327p reacted with thumbs up emoji

timhoffm pushed a commit that referenced this pull requestFeb 15, 2025
…ew (#29627)Co-authored-by: Christine P. Chai <star1327p@gmail.com>
prafulgulani pushed a commit to prafulgulani/matplotlib that referenced this pull requestFeb 22, 2025
* DOC: Add docstrings to matplotlib.cbook.GrouperView* DOC: Fixed linting errors in cbook.py* Update cbook.pyCo-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>* Update cbook.pyCo-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>* Revert unnecessary changes* Removed unnecessary whitespace---------Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
@ksundenksunden mentioned this pull requestMar 3, 2025
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.10.1
Development

Successfully merging this pull request may close these issues.

3 participants
@star1327p@QuLogic@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp