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

Add get/set_in_layout to artist API docs.#13436

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
Merged
Show file tree
Hide file tree
Changes fromall 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
16 changes: 5 additions & 11 deletionsdoc/api/artist_api.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -43,15 +43,6 @@ Interactive
Artist.set_picker
Artist.get_picker

Margins and Autoscaling
-----------------------

.. autosummary::
:toctree: _as_gen
:nosignatures:

Artist.sticky_edges

Clipping
--------

Expand DownExpand Up@@ -171,13 +162,16 @@ Metadata
Artist.set_url
Artist.get_url

Stale
-----
Miscellaneous
-------------

.. autosummary::
:toctree: _as_gen
:nosignatures:

Artist.sticky_edges
Artist.set_in_layout
Artist.get_in_layout
Artist.stale

Functions
Expand Down
6 changes: 3 additions & 3 deletionslib/matplotlib/artist.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -998,16 +998,16 @@ def set_zorder(self, level):
@property
def sticky_edges(self):
"""
`x` and `y` sticky edge lists.
``x`` and ``y`` sticky edge lists for autoscaling.

When performing autoscaling, if a data limit coincides with a value in
the corresponding sticky_edges list, then no margin will be added--the
view limit "sticks" to the edge. A typical use case is histograms,
where one usually expects no margin on the bottom edge (0) of the
histogram.

This attribute cannot be assigned to; however, the `x` and `y` lists
can be modified in place as needed.
This attribute cannot be assigned to; however, the ``x`` and ``y``
listscan be modified in place as needed.

Examples
--------
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp