See attached. table.py now has dataTable which does the autogenerating of tables given cells, rows and column stuff and tries to do sensible things if only a subset is actually supplied. data_table_demo.py is an example of dataTable in action. I've included the latest version of cell.py 'cos I think I've added more to that in the last 24 hours as well. re: including this in the next release, that would be excellent. john > All very nice. Two things I think would make a nice addition. You've > provided a great selection of default locations. It shouldn't be too > hard to allow 'loc' to be None, and let the user define a bbox (left, > bottom, width, height) in 0-1 coords to place the table wherever they > want it. > > Ie, use > > class Table > def __init__(self, axis, loc=None, bbox=None): > > The other thing that might would be a nice addition is a function to > autogenerate tables. Eg, you provide it a list of col header strings, > row header strings, color args and an MxN array of cell text strings, > and it does the dirty work of actually building the table for you. If > col header strings is empty, don't do the row at -1, etc... > > Thanks! With your permission, I'll include it in the next matplotlib > release. > > JDH > >