SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Another go at tables.

From: John G. <jn...@eu...> - 2004年02月10日 11:33:41
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
> 
> 

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /