[Matplotlib-users] dynamically setting the height of a barh plot

2009-10-30 Thread nbv4
I'm trying to create a dynamically generated png of an arbitrary number of barplots. The height of the png should correspond with the number of plots that are made. In jpGraph this is very easy. All you have to do is set the height of the image to top-margin + (number_of_bars * width_of_bars) + bo

Re: [Matplotlib-users] pan/zoom axes problem

2009-10-30 Thread Vicent Mas
> Dear Vicent, > > I'm struggling with embedding a navigation toolbar in a QT4 application > with matplotlib canvas. Could you please send me an example code of how I > add the navigation toolbar in the first place? > > As you notice, I'm a real newbe! > > Thank you very much, > > Thom > > V

Re: [Matplotlib-users] pan/zoom axes problem

2009-10-30 Thread Thomba
Dear Vicent, I'm struggling with embedding a navigation toolbar in a QT4 application with matplotlib canvas. Could you please send me an example code of how I add the navigation toolbar in the first place? As you notice, I'm a real newbe! Thank you very much, Thom Vicent Mas-2 wrote: > > H

[Matplotlib-users] Example on front page of web site missing a line

2009-10-30 Thread Thomas Smith
Hi, I was checking out matplotlib, and tried running the example shown on the front page (http://matplotlib.sourceforge.net/), but no window showed itself. I had to look through the examples files to find out how to make it work: it needed a show() command at the end. I think that the example sh

Re: [Matplotlib-users] Text annotation misaligned with png backend.

2009-10-30 Thread Jae-Joon Lee
I don't see such problem in my installations. I may be wrong but It seems to me that it is a font issue (I believe you're not using usetex mode). Can you try to use other fonts? For example, my current installation picks up the following font (Vera Serif?). In [10]: matplotlib.font_manager.findf