8000 Merge pull request #7297 from NelleV/7095_quick_and_easy_fix · matplotlib/matplotlib@e82032c · GitHub
[go: up one dir, main page]

Skip to content

Commit e82032c

Browse files
committed
Merge pull request #7297 from NelleV/7095_quick_and_easy_fix
DOC: docstring appending doesn't mess with rendering anymore
1 parent 00495d9 commit e82032c

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

lib/matplotlib/__init__.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,14 +1628,12 @@ def _replacer(data, key):
16281628

16291629
_DATA_DOC_APPENDIX = """
16301630
1631-
Notes
1632-
-----
1631+
.. note::
1632+
In addition to the above described arguments, this function can take a
1633+
**data** keyword argument. If such a **data** argument is given, the
1634+
following arguments are replaced by **data[<arg>]**:
16331635
1634-
In addition to the above described arguments, this function can take a
1635-
**data** keyword argument. If such a **data** argument is given, the
1636-
following arguments are replaced by **data[<arg>]**:
1637-
1638-
{replaced}
1636+
{replaced}
16391637
"""
16401638

16411639

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4680,7 +4680,8 @@ def barbs(self, *args, **kw):
46804680
positional_parameter_names=["x", "y", "c"])
46814681
@docstring.dedent_interpd
46824682
def fill(self, *args, **kwargs):
4683-
"""Plot filled polygons.
4683+
"""
4684+
Plot filled polygons.
46844685
46854686
Parameters
46864687
----------

0 commit comments

Comments
 (0)
0