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 59e029b

Browse filesBrowse files
authored
Merge pull request #7297 from NelleV/7095_quick_and_easy_fix
DOC: docstring appending doesn't mess with rendering anymore
2 parents 8e735e6 + 063cd41 commit 59e029b
Copy full SHA for 59e029b

File tree

Expand file treeCollapse file tree

2 files changed

+7
-8
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-8
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+5-7Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,14 +1602,12 @@ def _replacer(data, key):
16021602

16031603
_DATA_DOC_APPENDIX = """
16041604
1605-
Notes
1606-
-----
1605+
.. note::
1606+
In addition to the above described arguments, this function can take a
1607+
**data** keyword argument. If such a **data** argument is given, the
1608+
following arguments are replaced by **data[<arg>]**:
16071609
1608-
In addition to the above described arguments, this function can take a
1609-
**data** keyword argument. If such a **data** argument is given, the
1610-
following arguments are replaced by **data[<arg>]**:
1611-
1612-
{replaced}
1610+
{replaced}
16131611
"""
16141612

16151613

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4676,7 +4676,8 @@ def barbs(self, *args, **kw):
46764676
positional_parameter_names=["x", "y", "c"])
46774677
@docstring.dedent_interpd
46784678
def fill(self, *args, **kwargs):
4679-
"""Plot filled polygons.
4679+
"""
4680+
Plot filled polygons.
46804681
46814682
Parameters
46824683
----------

0 commit comments

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