[Matplotlib-users] strpdate2num in load

2007-12-09 Thread Emmanuel Favre-Nicolin
Hi, I've a little problem with date conversion. I have a csv file which looks like : Data,Valor 15/01/2007, 6,700012000 12/01/2007, 6,659903000 11/01/2007, 6,701586000 I try to get date using function strpdate2num in load doing this : from pylab import datestr2num, load def comma_nb2float(A):

[Matplotlib-users] can plot only one time in windows

2007-05-29 Thread Emmanuel Favre-Nicolin
Hi, I can plot only one time in windows. The second time, the window appears without the tools and when I click on the windows it become white and freezes. Here is a code : from pylab import * x=arange(5) y=x*x plot(x,y) show() plot(x,y) show()

Re: [Matplotlib-users] freezing matplotlib

2007-02-02 Thread Emmanuel Favre-Nicolin
I tried directly the setup.py, it does not work with wxcursor_demo.py My first try was  modifying the following in the setup.py : #mpldata = glob.glob(r'C:\Python24\share\matplotlib\*') mpldata=[] for di in allsubdirs(r'C:\Python24\Lib\site-packages\matplotlib'):     ti=di+'*.py*'    

Re: [Matplotlib-users] method for embedding a plot in wx

2006-11-18 Thread Emmanuel Favre-Nicolin
Le Vendredi 17 Novembre 2006 21:37, vous avez écrit : 1) you seem to have posted this three times -- we really only need it once. Sorry, I've problem with my email, I didn't receive the mail so I thought it wasn't send! (sourceforge seems not to like gmail emails) 2) I'd recommend wx MPL,

[Matplotlib-users] method for embedding a plot in wx

2006-11-17 Thread Emmanuel Favre-Nicolin
Hi, I didn't get the way to embed a plot where I wish it to be, for example inside a panel or a sizer? I did the following : I create a panel panel_4 which is where I'd like to get the plot, I create a sizer sizer_8 in it and try to load the plot but the plot does not show. I don't know how to

Re: [Matplotlib-users] x and ylabel problem when embedding in wx

2006-11-10 Thread Emmanuel Favre-Nicolin
Le Vendredi 10 Novembre 2006 00:50, vous avez écrit : John == John Hunter [EMAIL PROTECTED] writes: John It's not about wx or wxpython, it's a matplotlib issue. Let me add some color to that statement -- when I took a look at your screenshot, I realized you are using the WX backend and

[Matplotlib-users] x and ylabel problem when embedding in wx

2006-11-09 Thread Emmanuel Favre-Nicolin
I have problem with xlabel and ylabel when embedding in wx. See snapshot : http://emmanuelfavrenicolin.free.fr/Public/Divers/Snapshots1/wx_snap.png I put a test code which is based on dynamic_demo_wx.py, adding only the 3 lines : a.set_title('Title') a.set_xlabel('Xaxis [u.a.]')

[Matplotlib-users] x and ylabel problem when embedding in wx

2006-11-09 Thread Emmanuel Favre-Nicolin
Hi, (I'm sending again because email was probably filtered?) I have problem with xlabel and ylabel when embedding in wx. See snapshot : http://emmanuelfavrenicolin.free.fr/Public/Divers/Snapshots1/wx_snap.png I put a test code which is based on dynamic_demo_wx.py, adding only the 3 lines :