Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ae94c6

Browse files
committed
Fix format in documenting_mpl.rst
1 parent 739b86a commit 3ae94c6

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
@@ -480,7 +480,9 @@ also`` sections. No need to use backticks there::
480480
Wrapping parameter lists
481481
~~~~~~~~~~~~~~~~~~~~~~~~
482482
Long parameter lists should be wrapped using a ``\`` for continuation and
483-
starting on the new line without any indent:
483+
starting on the new line without any indent (no indent because pydoc will
484+
parse the docstring and strip the line continuation so that indent would
485+
result in a lot of whitespace within the line):
484486

485487
.. code-block:: python
486488
@@ -490,8 +492,7 @@ starting on the new line without any indent:
490492
491493
Parameters
492494
----------
493-
projection :
494-
{'aitoff', 'hammer', 'lambert', 'mollweide', 'polar', \
495+
projection : {'aitoff', 'hammer', 'lambert', 'mollweide', 'polar', \
495496
'rectilinear'}, optional
496497
The projection type of the axes.
497498

0 commit comments

Comments
 (0)