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

Skip to content

Commit 8e17955

Browse files
committed
Add closing quotes to embedded python in rst markup.
Otherwise, this confuses vim's rst syntax highlighter, which actually highlights embedded Python as, well, Python, but current thinks that the multiline string extends all the way to the end of the file.
1 parent f6ebbc3 commit 8e17955

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/devel/documenting_mpl.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ guide:
189189
'polar' | 'rectilinear'], optional
190190
The projection type of the axes.
191191
192+
...
193+
"""
194+
192195
Alternatively, you can describe the valid parameter values in a dedicated
193196
section of the docstring.
194197

@@ -203,8 +206,6 @@ guide:
203206
-------
204207
lines : `~matplotlib.collections.LineCollection`
205208
206-
207-
208209
Linking to other code
209210
---------------------
210211
To link to other methods, classes, or modules in Matplotlib you can encase
@@ -322,6 +323,7 @@ calls in `matplotlib.patches`.
322323

323324
Adding figures
324325
==============
326+
325327
Figures in the documentation are automatically generated from scripts.
326328
It is not necessary to explicitly save the figure from the script; this will be
327329
done automatically when the docs are built to ensure that the code that is

0 commit comments

Comments
 (0)