Skip to content

Commit fed76d5

Browse files
committed
DOC: Change strings to monospace
1 parent 36c6cde commit fed76d5

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

doc/users/text_props.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,29 @@ Property Value Type
1313
========================== ==============================================================================
1414
alpha float
1515
backgroundcolor any matplotlib color
16-
bbox rectangle prop dict plus key 'pad' which is a pad in points
16+
bbox rectangle prop dict plus key ``'pad'`` which is a pad in points
1717
clip_box a matplotlib.transform.Bbox instance
1818
clip_on [True | False]
1919
clip_path a Path instance and a Transform instance, a Patch
2020
color any matplotlib color
21-
family [ 'serif' | 'sans-serif' | 'cursive' | 'fantasy' | 'monospace' ]
21+
family [ ``'serif'`` | ``'sans-serif'`` | ``'cursive'`` | ``'fantasy'`` | ``'monospace'`` ]
2222
fontproperties a matplotlib.font_manager.FontProperties instance
23-
horizontalalignment or ha [ 'center' | 'right' | 'left' ]
23+
horizontalalignment or ha [ ``'center'`` | ``'right'`` | ``'left'`` ]
2424
label any string
2525
linespacing float
26-
multialignment ['left' | 'right' | 'center' ]
27-
name or fontname string eg, ['Sans' | 'Courier' | 'Helvetica' ...]
26+
multialignment [``'left'`` | ``'right'`` | ``'center'`` ]
27+
name or fontname string eg, [``'Sans'`` | ``'Courier'`` | ``'Helvetica'`` ...]
2828
picker [None|float|boolean|callable]
2929
position (x,y)
30-
rotation [ angle in degrees 'vertical' | 'horizontal'
31-
size or fontsize [ size in points | relative size eg 'smaller', 'x-large' ]
32-
style or fontstyle [ 'normal' | 'italic' | 'oblique']
30+
rotation [ angle in degrees ``'vertical'`` | ``'horizontal'``
31+
size or fontsize [ size in points | relative size eg ``'smaller'``, ``'x-large'`` ]
32+
style or fontstyle [ ``'normal'`` | ``'italic'`` | ``'oblique'``]
3333
text string or anything printable with '%s' conversion
3434
transform a matplotlib.transform transformation instance
35-
variant [ 'normal' | 'small-caps' ]
36-
verticalalignment or va [ 'center' | 'top' | 'bottom' | 'baseline' ]
35+
variant [ ``'normal'`` | ``'small-caps'`` ]
36+
verticalalignment or va [ ``'center'`` | ``'top'`` | ``'bottom'`` | ``'baseline'`` ]
3737
visible [True | False]
38-
weight or fontweight [ 'normal' | 'bold' | 'heavy' | 'light' | 'ultrabold' | 'ultralight']
38+
weight or fontweight [ ``'normal'`` | ``'bold'`` | ``'heavy'`` | ``'light'`` | ``'ultrabold'`` | ``'ultralight'``]
3939
x float
4040
y float
4141
zorder any number

0 commit comments

Comments
 (0)