Skip to content

Commit 4a86b5a

Browse files
committed
DOC:Use monospace for --
The -- is rendering as an en dash on http://matplotlib.org/users/pyplot_tutorial.html Maybe all strings should use monospace instead of single quotes?
1 parent 233ffdb commit 4a86b5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/users/pyplot_tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ dashes sequence of on/off ink in points
110110
data (np.array xdata, np.array ydata)
111111
figure a matplotlib.figure.Figure instance
112112
label any string
113-
linestyle or ls [ '-' | '--' | '-.' | ':' | 'steps' | ...]
113+
linestyle or ls [ ``-`` | ``--`` | ``-.`` | ``:`` | ``steps`` | ...]
114114
linewidth or lw float value in points
115115
lod [True | False]
116-
marker [ '+' | ',' | '.' | '1' | '2' | '3' | '4'
116+
marker [ '+' | ',' | '.' | '1' | '2' | '3' | '4' ]
117117
markeredgecolor or mec any matplotlib color
118118
markeredgewidth or mew float value in points
119119
markerfacecolor or mfc any matplotlib color

0 commit comments

Comments
 (0)