Re: [Matplotlib-users] Compiled against version 90709 of C-API... numpy is 90907

2006-07-14 Thread Stefan van der Walt
On Thu, Jul 13, 2006 at 08:21:14PM -0400, Darren Dale wrote: On Thursday 13 July 2006 8:08 pm, Brian Wilfley wrote: I'm afraid I mixed and matched inappropriately withe the enthought 2.4 beta 3 and matplotlibe 0.87.4 py2.4 pairing. Any thoughts? RuntimeError: module compiled against

[Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread Richard Albright
How can I turn off the decade ticks in the following simple example? from pylab import * x=(1,2,3,4,5) y=(13, 22,19,26,32) set_major_locator(NullLocator()) set_major_formatter(NullFormatter()) semilogy(x,y) show() I am building stock graphs with the library, but have not been able to figure out

Re: [Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread PGM
On Friday 14 July 2006 11:25, Richard Albright wrote: from pylab import * x=(1,2,3,4,5) y=(13, 22,19,26,32) set_major_locator(NullLocator()) set_major_formatter(NullFormatter()) semilogy(x,y) show() Have you tried that ? gca().yaxis.set_minor_locator(NullLocator()) Or maybe I don't

Re: [Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread John Hunter
PGM == PGM [EMAIL PROTECTED] writes: PGM On Friday 14 July 2006 11:25, Richard Albright wrote: from pylab import * x=(1,2,3,4,5) y=(13, 22,19,26,32) set_major_locator(NullLocator()) set_major_formatter(NullFormatter()) semilogy(x,y) show() PGM Have you tried that ?

Re: [Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread John Hunter
PGM == PGM [EMAIL PROTECTED] writes: There is an easier way, however. PGM That's what I like in matplotlib: no matter how hard you try, PGM there's always a simpler solution you're not yet aware of... hmm... if you try hard, you should be led to the easy way! while subsx and

[Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread Richard Albright
thanks for the subsy tip!, it did exactly what i couldn't do using NullLocator() and NullFormatter(), regardless if i put it before or after the semilogy command. On Fri, 2006-07-14 at 11:52 -0500, John Hunter wrote: PGM == PGM [EMAIL PROTECTED] writes: There is an easier way, however.

Re: [Matplotlib-users] Can you set numerix in a script?

2006-07-14 Thread Christopher Barker
Gary Ruben wrote: Yep, just do from pylab import * rcParams['numerix'] = 'numpy' well, duh. sorry for being such and idiot, but I'm surprised that you can set numerix after importing pylab. If I was developing something now, I would only bother supporting numpy. That's my thought too,

Re: [Matplotlib-users] problem with enthon's mpl.

2006-07-14 Thread Gary Ruben
I tried it out and it is fixed in the latest Enthought release 1.0.0beta4 Gary Ruben wrote: Hi Rob, A couple of us reported this last week on the scipy list and I think it should be fixed in the version which was just released by Enthought, so if your friend will persevere and grab the

Re: [Matplotlib-users] Compiled against version 90709 of C-API... numpy is 90907

2006-07-14 Thread Brian Wilfley
Muchas Muchas Gracias! bpw On 7/14/06, Stefan van der Walt [EMAIL PROTECTED] wrote: On Thu, Jul 13, 2006 at 08:21:14PM -0400, Darren Dale wrote: On Thursday 13 July 2006 8:08 pm, Brian Wilfley wrote: I'm afraid I mixed and matched inappropriately withe the enthought 2.4 beta 3 and