Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions lib/matplotlib/artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def _update_set_signature_and_docstring(cls):
Set multiple properties at once.

::

a.set(a=A, b=B, c=C)

is equivalent to ::
Expand All @@ -177,8 +178,13 @@ def _update_set_signature_and_docstring(cls):
a.set_b(B)
a.set_c(C)

The order of operations is not guaranteed, however most properties do not
depend on each other.
In addition to the full property names, aliases are also supported, e.g.
``set(lw=2)`` is equivalent to ``set(linewidth=2)``, but it is an error
to pass both simultaneously.

The order of the individual setter calls matches the order of parameters
in ``set()``. However, most properties do not depend on each other so
that order is rarely relevant.

Supported properties are

Expand Down
Loading