Skip to content

Conversation

@timhoffm
Copy link
Member

No description provided.

@github-actions github-actions bot added the Documentation: API files in lib/ and doc/api label Jan 13, 2026
"""
Update this artist's properties from the dict *props*.
Note: ``a.update(props)`` is equivalent to ``a.set(**props)``.
Copy link
Member

Choose a reason for hiding this comment

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

Why do both exist then?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added some more clarification to the docstring of both.

Copy link
Member Author

Choose a reason for hiding this comment

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

Update: It turns out the difference is not clear and needs dedicated investigation. I've pull this out into #30957, so that changes here remain trivial and can be quickly reviewed/merged.

@timhoffm
Copy link
Member Author

@story645 for efficiency, I merge based on your approval. The unclear part you asked about is extracted to #30957.

@timhoffm timhoffm merged commit 77b5114 into matplotlib:main Jan 14, 2026
39 of 40 checks passed
@timhoffm timhoffm deleted the doc-api branch January 14, 2026 08:30
@QuLogic QuLogic added this to the v3.11.0 milestone Jan 14, 2026
@story645
Copy link
Member

Sorry for some reason thought this already had been merged :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: API files in lib/ and doc/api

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants