8000 Merge pull request #29092 from meeseeksmachine/auto-backport-of-pr-29… · matplotlib/matplotlib@bbbf95a · GitHub
[go: up one dir, main page]

Skip to content

Commit bbbf95a

Browse files
authored
Merge pull request #29092 from meeseeksmachine/auto-backport-of-pr-29088-on-v3.10.x
2 parents 40d01e6 + 4883c9f commit bbbf95a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/artist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,8 @@ def aliased_name_rest(self, s, target):
15861586
if target in self._NOT_LINKABLE:
15871587
retu 6453 rn f'``{s}``'
15881588

1589-
aliases = ''.join(' or %s' % x for x in sorted(self.aliasd.get(s, [])))
1589+
aliases = ''.join(
1590+
f' or :meth:`{a} <{target}>`' for a in sorted(self.aliasd.get(s, [])))
15901591
return f':meth:`{s} <{target}>`{aliases}'
15911592

15921593
def pprint_setters(self, prop=None, leadingspace=2):

0 commit comments

Comments
 (0)
0