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

Appearance settings

Commit 1ef7f64

Browse filesBrowse files
committed
FIX/DOC - make Text doscstring interp more easily searchable
1 parent 7a5458b commit 1ef7f64
Copy full SHA for 1ef7f64

File tree

Expand file treeCollapse file tree

4 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+5
-5
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def text(self, x, y, s, fontdict=None, **kwargs):
608608
**kwargs : `~matplotlib.text.Text` properties.
609609
Other miscellaneous text parameters.
610610
611-
%(Text)s
611+
%(Text_kwdoc)s
612612
613613
Examples
614614
--------

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ def text(self, x, y, s, fontdict=None, **kwargs):
12151215
**kwargs : `~matplotlib.text.Text` properties
12161216
Other miscellaneous text parameters.
12171217
1218-
%(Text)s
1218+
%(Text_kwdoc)s
12191219
12201220
See Also
12211221
--------

‎lib/matplotlib/table.py

Copy file name to clipboardExpand all lines: lib/matplotlib/table.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def set_text_props(self, **kwargs):
177177
178178
Valid keyword arguments are:
179179
180-
%(Text)s
180+
%(Text_kwdoc)s
181181
"""
182182
self._text.update(kwargs)
183183
self.stale = True

‎lib/matplotlib/text.py

Copy file name to clipboardExpand all lines: lib/matplotlib/text.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def __init__(self,
146146
147147
Valid keyword arguments are:
148148
149-
%(Text)s
149+
%(Text_kwdoc)s
150150
"""
151151
super().__init__()
152152
self._x, self._y = x, y
@@ -1276,7 +1276,7 @@ def set_fontname(self, fontname):
12761276
return self.set_family(fontname)
12771277

12781278

1279-
docstring.interpd.update(Text=artist.kwdoc(Text))
1279+
docstring.interpd.update(Text_kwdoc=artist.kwdoc(Text))
12801280
docstring.dedent_interpd(Text.__init__)
12811281

12821282

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.