Figured it out:

import matplotlib.mlab as mlab
import mpl_toolkits.gtktools as gtktools
formatd = dict(
            x = mlab.FormatFloat(2),
            y = mlab.FormatFloat(2)
        )
r=mlab.csv2rec('file.csv',names=('X','Y'))
v=gtktools.rec2gtk(r,formatd=formatd)
for c in v.treeview.get_columns():
   c.set_alignment(0.5)
view.show()

Andre
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to