Skip to content

[MNT]: Terminology: artist property #22460

@timhoffm

Description

@timhoffm

Summary

Matplotlib uses "property" as a technical term for aspects of an Artist that can be queried using a get_<prop-name>() method. This is confusing because property has a dedicated meaning within python. Examples:

https://matplotlib.org/devdocs/api/_as_gen/matplotlib.artist.Artist.properties.html

Return a dictionary of all the properties of the artist.

https://matplotlib.org/devdocs/api/_as_gen/matplotlib.artist.Artist.set.html:

Set multiple properties at once. Supported properties are

Proposed fix

I think our properties are older than python's, but we can't make them change 😜. I therefore propose that we use a different term in our documentation. Suggestion: artist property.

Inspired by #22451.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions