@@ -177,7 +177,7 @@ class Table(Artist):
177177 FONTSIZE = 10
178178 AXESPAD = 0.02 # the border between the axes and table edge
179179
180- def __init__ (self , ax , loc = None , bbox = None ):
180+ def __init__ (self , ax , loc = None , bbox = None , ** kwargs ):
181181
182182 Artist .__init__ (self )
183183
@@ -201,6 +201,7 @@ def __init__(self, ax, loc=None, bbox=None):
201201 self ._autoRows = []
202202 self ._autoColumns = []
203203 self ._autoFontsize = True
204+ self .update (kwargs )
204205
205206 self .set_clip_on (False )
206207
@@ -453,7 +454,8 @@ def table(ax,
453454 cellLoc = 'right' , colWidths = None ,
454455 rowLabels = None , rowColours = None , rowLoc = 'left' ,
455456 colLabels = None , colColours = None , colLoc = 'center' ,
456- loc = 'bottom' , bbox = None ):
457+ loc = 'bottom' , bbox = None ,
458+ ** kwargs ):
457459 """
458460 TABLE(cellText=None, cellColours=None,
459461 cellLoc='right', colWidths=None,
@@ -517,7 +519,7 @@ def table(ax,
517519 cellColours = ['w' * cols ] * rows
518520
519521 # Now create the table
520- table = Table (ax , loc , bbox )
522+ table = Table (ax , loc , bbox , ** kwargs )
521523 height = table ._approx_text_height ()
522524
523525 # Add the cells
0 commit comments