Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package


00001 """
Load a CSV file into a record array and edit it in a gtk treeview

import gtk
import numpy as np
import matplotlib.mlab as mlab
import mpl_toolkits.gtktools as gtktools

r = mlab.csv2rec('data/demodata.csv', converterd={'weekdays':str})

liststore, treeview, win = gtktools.edit_recarray(r)
win.set_title('click to edit')
win.connect('delete-event', lambda *args: gtk.main_quit())

Generated by  Doxygen 1.6.0   Back to index