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

Commit1c4c9af

Browse files
authored
Merge pull request#27928 from QuLogic/fix-tools-doc
DOC: Fix syntax for ToolBase.image docstring
2 parentsebbef87 +4c67a08 commit1c4c9af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎lib/matplotlib/backend_tools.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ class ToolBase:
9999
"""
100100
Icon filename.
101101
102-
``str | None``: Filename of the Toolbar icon; either absolute, or
103-
relative to thedirectory containing the Python source file where the
104-
``Tool.image``class attributeis defined (in the latter case, this cannot
105-
be defined as an instance attribute).In either case, the extension is
106-
optional; leaving it off lets individual backends selecttheicon format
107-
they prefer. If None, the *name* is used as a label in thetoolbar button.
102+
``str | None``: Filename of the Toolbar icon; either absolute, or relative to the
103+
directory containing the Python source file where the ``Tool.image`` class attribute
104+
is defined (in the latter case, this cannot be defined as an instance attribute).
105+
In either case, the extension is optional; leaving it off lets individual backends
106+
select the icon format they prefer. If None,the*name* is used as a label in the
107+
toolbar button.
108108
"""
109109

110110
def__init__(self,toolmanager,name):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp