8000 Merge pull request #13010 from timhoffm/fix-documenting-format · matplotlib/matplotlib@22649b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22649b6

Browse files
authored
Merge pull request #13010 from timhoffm/fix-documenting-format
Fix a format error in documenting_mpl.rst
2 parents 529410f + 3ae94c6 commit 22649b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/devel/documenting_mpl.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,9 @@ also`` sections. No need to use backticks there::
475475
Wrapping parameter lists
476476
~~~~~~~~~~~~~~~~~~~~~~~~
477477
Long parameter lists should be wrapped using a ``\`` for continuation and
478-
starting on the new line without any indent:
478+
starting on the new line without any indent (no indent because pydoc will
479+
parse the docstring and strip the line continuation so that indent would
480+
result in a lot of whitespace within the line):
479481

480482
.. code-block:: python
481483
@@ -485,8 +487,7 @@ starting on the new line without any indent:
485487
486488
Parameters
487489
----------
488-
projection :
489-
{'aitoff', 'hammer', 'lambert', 'mollweide', 'polar', \
490+
projection : {'aitoff', 'hammer', 'lambert', 'mollweide', 'polar', \
490491
'rectilinear'}, optional
491492
The projection type of the axes.
492493

0 commit comments

Comments
 (0)
0