Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee2d046 + 7e18d8e commit 005c7a6Copy full SHA for 005c7a6
doc/devel/documenting_mpl.rst
@@ -407,6 +407,22 @@ The basic docstring conventions are covered in the `numpydoc docstring guide`_
407
and the Sphinx_ documentation. Some Matplotlib-specific formatting conventions
408
to keep in mind:
409
410
+Quote positions
411
+~~~~~~~~~~~~~~~
412
+The quotes for single line docstrings are on the same line (pydocstyle D200)::
413
+
414
+ def get_linewidth(self):
415
+ """Return the line width in points."""
416
417
+The quotes for multi-line docstrings are on separate lines (pydocstyle D213)::
418
419
+ def set_linestyle(self, ls):
420
+ """
421
+ Set the linestyle of the line.
422
423
+ [...]
424
425
426
Function arguments
427
~~~~~~~~~~~~~~~~~~
428
Function arguments and keywords within docstrings should be referred to
0 commit comments