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: Fix syntax for ToolBase.image docstring#27928

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
anntzer merged 1 commit intomatplotlib:mainfromQuLogic:fix-tools-doc
Mar 15, 2024
Merged
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
12 changes: 6 additions & 6 deletionslib/matplotlib/backend_tools.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -99,12 +99,12 @@ class ToolBase:
"""
Icon filename.

``str | None``: Filename of the Toolbar icon; either absolute, or
relative to thedirectory containing the Python source file where the
``Tool.image``class attributeis defined (in the latter case, this cannot
be defined as an instance attribute).In either case, the extension is
optional; leaving it off lets individual backends selecttheicon format
they prefer. If None, the *name* is used as a label in thetoolbar button.
``str | None``: Filename of the Toolbar icon; either absolute, or relative to the
directory containing the Python source file where the ``Tool.image`` class attribute
is defined (in the latter case, this cannot be defined as an instance attribute).
In either case, the extension is optional; leaving it off lets individual backends
select the icon format they prefer. If None,the*name* is used as a label in the
toolbar button.
"""

def __init__(self, toolmanager, name):
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp