[Matplotlib-users] [Fwd: Re: Pie chart is "stretched"]

2007-06-03 Thread Eric Firing
Forgot "reply-to-all". Eric --- Begin Message --- Erik Wickstrom wrote: Hi all, I'm trying to generate a pie chart to use in my django web app. But it keeps rendering in a rectanuglar canvas instead of a square one, so see inserted call to set_aspect method, below. the pie is oblong instead

[Matplotlib-users] mouse events, get data and disconnect

2007-06-03 Thread darkside
I'm trying to use matplotlib to get an x point on some figures by mouse clicking. To do this I try the next example: - datax=[] datay =[] def click(event): x, y = event.x, event.y if event.button == 1: if event.inaxes: print

[Matplotlib-users] Pie chart is "stretched"

2007-06-03 Thread Erik Wickstrom
Hi all, I'm trying to generate a pie chart to use in my django web app. But it keeps rendering in a rectanuglar canvas instead of a square one, so the pie is oblong instead of circular. It also keeps rendering with a grey background, I need the background to be white. I've attached a jpg of th

Re: [Matplotlib-users] removing all padding / white space around plot

2007-06-03 Thread Jouni K . Seppänen
Allen Beye Riddell <[EMAIL PROTECTED]> writes: > I'd like to remove the whitespace, padding, offset, etc on the left and > right of the plot as I'm writing the entire thing to a jpg. I've turned > the frame, axes, ticks off, but the space still remains. [...] > ax = fig.add_subplot(111) Repl

[Matplotlib-users] removing all padding / white space around plot

2007-06-03 Thread Allen Beye Riddell
Hi, I've searched the archives but can't find a solution to this problem. I'd like to remove the whitespace, padding, offset, etc on the left and right of the plot as I'm writing the entire thing to a jpg. I've turned the frame, axes, ticks off, but the space still remains. I've attached the code

Re: [Matplotlib-users] matplotlib-0.90.1 no longer builds _wxagg.so

2007-06-03 Thread John Hunter
On 6/3/07, Werner Hoch <[EMAIL PROTECTED]> wrote: > Hi all, > > I've build matplotlib but there is no matplotlib/backends/_wxagg.so. > > Even without that file matplotlib works fine with the WX backend and > pycrust. > > What is that file good for? > Is it required to run matplotlib properly (maybe

[Matplotlib-users] matplotlib-0.90.1 no longer builds _wxagg.so

2007-06-03 Thread Werner Hoch
Hi all, I've build matplotlib but there is no matplotlib/backends/_wxagg.so. Even without that file matplotlib works fine with the WX backend and pycrust. What is that file good for? Is it required to run matplotlib properly (maybe in other use cases)? I'm working on openSUSE 10.2 on x86_64.