Re: [Matplotlib-users] xalign rec2gtk columns

2009-10-23 Thread Andre Smit
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_column

[Matplotlib-users] rec2gtk

2009-10-22 Thread Andre Smit
Is is possible to xalign rec2gtk columns? I see the following line in the rec2gtk source: -> renderer.set_property('xalign', formatter.xalign) but can't figure out how to pass this info to the func. thx Andre -- Come b

[Matplotlib-users] Solution to pylab import problem

2008-10-30 Thread Andre Smit
The problem was exposed by running python -c "import pylab" from the command shell. A message box indicated that msvcp71.dll was missing. I copied this file to my python25 folder and it fixed the problem. Note - it didn't help to copy the missing file to the windows\system32 folder or even

[Matplotlib-users] pylab import problem

2008-10-30 Thread Andre Smit
FYI pylab fails to import on Windows Server 2008. I'm using the latest installs of numpy, scipy and matplotlib. >>> from pylab import * Traceback (most recent call last): File "", line 1, in File "C:\Python25\Lib\site-packages\pylab.py", line 1, in from matplotlib.pylab import