SourceForge logo
SourceForge logo
Menu

[matplotlib-devel] Another go at tables.

From: John G. <jn...@eu...> - 2004年02月09日 10:13:10
John,
Here is another go at the tables.
I've created a cell object (see cell.py). This is just a rectangle that
has some (optional) text associated with it.
A table is now not much more than just a collection of cells.
You just create the table and then add all the cells. For each cell
you specify the row and column. Negative column numbers are allowed,
which is handy for things like row labels.
See table_demo3.py for an example of how it works. The demo also
includes some stuff to help with coming up with nice (?) pastel shades
to use as colours.
I've also got an option that allows you to specify that a particular
column should have its width worked out automagically based on the text
in the cells in the column (again see the demo).
axes.py is almost the same as the last version i sent you, the only
change is this little bug fix:
304c305
< (iterable(color) and len(color)==3 and len(x)!=3) or
---
> (iterable(color) and len(color)==3 and len(left)!=3) or
John

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 によって変換されたページ (->オリジナル) /