@@ -76,15 +76,15 @@ def __init__(self, xy, width, height, *,
76
76
The cell facecolor.
77
77
fill : bool, default: True
78
78
Whether the cell background is filled.
79
- text : str, optional
79
+ text : str, default: ''
80
80
The cell text.
81
- loc : {'right ', 'center ', 'left'}
81
+ loc : {'center ', 'left ', 'right'}, default: 'right'
82
82
The alignment of the text within the cell.
83
83
fontproperties : dict, optional
84
84
A dict defining the font properties of the text. Supported keys and
85
85
values are the keyword arguments accepted by `.FontProperties`.
86
86
visible_edges : {'closed', 'open', 'horizontal', 'vertical'} or \
87
- substring of 'BRTL'
87
+ substring of 'BRTL', default: 'closed'
88
88
The cell edges to be drawn with a line: a substring of 'BRTL'
89
89
(bottom, right, top, left), or one of 'open' (no edges drawn),
90
90
'closed' (all edges drawn), 'horizontal' (bottom and top),
@@ -684,7 +684,7 @@ def table(ax,
684
684
cellColours : 2D list of colors, optional
685
685
The background colors of the cells.
686
686
687
- cellLoc : {'right ', 'center ', 'left'}
687
+ cellLoc : {'center ', 'left ', 'right'}, default: 'right'
688
688
The alignment of the text within the cells.
689
689
690
690
colWidths : list of float, optional
@@ -697,7 +697,7 @@ def table(ax,
697
697
rowColours : list of colors, optional
698
698
The colors of the row header cells.
699
699
700
- rowLoc : {'left ', 'center ', 'right'}
700
+ rowLoc : {'center ', 'left ', 'right'}, default: 'center'
701
701
The text alignment of the row header cells.
702
702
703
703
colLabels : list of str, optional
@@ -706,7 +706,7 @@ def table(ax,
706
706
colColours : list of colors, optional
707
707
The colors of the column header cells.
708
708
709
- colLoc : {'center', 'left', 'right'}
709
+ colLoc : {'center', 'left', 'right'}, default: 'center'
710
710
The text alignment of the column header cells.
711
711
712
712
loc : str, default: 'bottom'
@@ -717,9 +717,9 @@ def table(ax,
717
717
A bounding box to draw the table into. If this is not *None*, this
718
718
overrides *loc*.
719
719
720
- edges : {'closed', 'open', 'horizontal', 'vertical'} or substring of 'BRTL'
721
- The cell edges to be drawn with a line. See also
722
- `~.Cell.visible_edges`.
720
+ edges : {'closed', 'open', 'horizontal', 'vertical'} or substring of 'BRTL', \
721
+ default: 'closed'
722
+ The cell edges to be drawn with a line. See also `~.Cell.visible_edges`.
723
723
724
724
Returns
725
725
-------
0 commit comments