[Matplotlib-users] bug in 0.91.2

2008-05-20 Thread keith.briggs
ttconv/truetype.h needs an #include cstdio, otherwise it does not compile with gcc 4.3. Keith - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.

[Matplotlib-users] How to automatically update a plot?

2008-05-20 Thread Marcus Vinicius Eiffle Duarte
Hi, folks! I am using matplotlib (for the first time ever) to embed some graphics in an application written using python + pygtk + glade. So, I inserted on a page of a notebook a vertical pane, containing a treeview with data on the left pane, and a matplotlib bar graph of this data on the right.

Re: [Matplotlib-users] matplotlib 0.91.2 build failure

2008-05-20 Thread Michael Droettboom
The compiler that ships with Fedora 9 is a little more strict about C header file usage from a C++ file. This was fixed in matplotlib SVN less than two weeks ago. You can either a) checkout the maintenance branch from SVN, which is basically like 0.91.2 but with a number of small bugfixes,

Re: [Matplotlib-users] How to automatically update a plot?

2008-05-20 Thread John Hunter
My problem is: even though I call draw() twice, the figure is not imeediately updated when the user selects a given line on the treeview. The figure is updated only when I change the size of a pane. I tried using matplotlib in interactive mode, adding the line matplotlib.interactive(

Re: [Matplotlib-users] How to automatically update a plot?

2008-05-20 Thread Marcus Vinicius Eiffle Duarte
2008/5/20 John Hunter [EMAIL PROTECTED]: My problem is: even though I call draw() twice, the figure is not imeediately updated when the user selects a given line on the treeview. The figure is updated only when I change the size of a pane. I tried using matplotlib in interactive mode,

Re: [Matplotlib-users] matplotlib 0.91.2 build failure

2008-05-20 Thread frigoris . ma
On Tue, May 20, 2008 at 8:34 PM, Michael Droettboom [EMAIL PROTECTED] wrote: The compiler that ships with Fedora 9 is a little more strict about C header file usage from a C++ file. This was fixed in matplotlib SVN less than two weeks ago. You can either a) checkout the maintenance branch

Re: [Matplotlib-users] How to automatically update a plot?

2008-05-20 Thread John Hunter
On Tue, May 20, 2008 at 8:31 AM, Marcus Vinicius Eiffle Duarte [EMAIL PROTECTED] wrote: Thanks, John. That worked fine. But does this mean that I can't make the figure repaint just a portion/object, and always will have to repaint/refresh the whole figure (all objects)? Or does matplotlib

[Matplotlib-users] Remove xlabel

2008-05-20 Thread Johan Mazel
Hi I'm plotting data associated with dates. I have two problems. The first one is that the xlabel date is displayed despite that haven't set Matplotlib to do so. My code is the following one : fig = plt.figure(1) title_to_display=str(Entropy, Kullback-LeiblerL,

Re: [Matplotlib-users] Remove xlabel

2008-05-20 Thread John Hunter
On Tue, May 20, 2008 at 10:32 AM, Johan Mazel [EMAIL PROTECTED] wrote: Hi I'm plotting data associated with dates. I have two problems. The first one is that the xlabel date is displayed despite that haven't set Matplotlib to do so. Yes, that was meant to be a feature but it is mainly an

Re: [Matplotlib-users] Labels for ticks on the colorbar?

2008-05-20 Thread Abhinav Verma
Hi, I need the same, and I did not understood the example. I have an imageplot with imshow and in the colorbar in donot wish to have values but text strings. can someone give me a small example to work on. thanks, On Sat, Mar 1, 2008 at 8:44 PM, John Hunter [EMAIL PROTECTED] wrote: On Sat,