Re: [Matplotlib-users] [n00b] removing y axis and keeping x

2008-04-20 Thread Eric Firing
Daniel Fetchinson wrote: [...] Yes, this would be really useful. For the moment I'll just turn off all axis, I managed to do that. By the way is it possible to just turn off the axis and not the tick labels? In your example below you could try graph.set_frame_on(False) That will leave the

[Matplotlib-users] Different between canvas.draw() and canvas.restore_region()??

2008-04-20 Thread hjc520070
canvas.draw() is slow in animation, I have succeed in replacing it with canvas.restore_region(). And it is wonderful. However, in the following, I fail to make it work the same as canvas.draw().The following code can work. And creat a dynamic line. When I work with the statement

Re: [Matplotlib-users] [n00b] removing y axis and keeping x

2008-04-20 Thread Daniel Fetchinson
On 4/19/08, Eric Firing [EMAIL PROTECTED] wrote: Daniel Fetchinson wrote: [...] Yes, this would be really useful. For the moment I'll just turn off all axis, I managed to do that. By the way is it possible to just turn off the axis and not the tick labels? In your example below you could

Re: [Matplotlib-users] Compiler error on OS X 10.5.2 in agg

2008-04-20 Thread John Hunter
On Mon, Mar 24, 2008 at 2:48 PM, Charlie Moad [EMAIL PROTECTED] wrote: This is a compiler problem the with the gcc on 10.5.2 (and 10.5.1 I think). I found the same error message on many google hits outside of matplotlib. Your suggestion of compiling with -Os for the two problem files worked

Re: [Matplotlib-users] Different between canvas.draw() and canvas.restore_region()??

2008-04-20 Thread hjc520070
Thanks for your help. I get it work. However, an interesting thing appears. The following two codes(code 1 and code 2) makes different result??? Only set background in different place. Anyone can tell me why? I am eager to know it. ##code 1 import wx from matplotlib.backends.backend_wxagg import