On this page
matplotlib.axes.Axes.table
Axes.table(**kwargs)
[source]-
Add a table to the current axes.
Call signature:
table(cellText=None, cellColours=None, cellLoc='right', colWidths=None, rowLabels=None, rowColours=None, rowLoc='left', colLabels=None, colColours=None, colLoc='center', loc='bottom', bbox=None)
Returns a
matplotlib.table.Table
instance. EithercellText
orcellColours
must be provided. For finer grained control over tables, use theTable
class and add it to the axes withadd_table()
.Thanks to John Gill for providing the class and table.
kwargs control the
Table
properties:Property Description agg_filter
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array alpha
float animated
bool clip_box
Bbox
clip_on
bool clip_path
[( Path
,Transform
) |Patch
| None]contains
callable figure
Figure
fontsize
float gid
str in_layout
bool label
object path_effects
AbstractPathEffect
picker
None or bool or float or callable rasterized
bool or None sketch_params
(scale: float, length: float, randomness: float) snap
bool or None transform
Transform
url
str visible
bool zorder
float
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.0.0/api/_as_gen/matplotlib.axes.Axes.table.html