Re: [Matplotlib-users] Using Windows Binary to install MatPlotLib in different site-packages folder

2009-04-04 Thread Christopher Barker
Careful, "reply" doesn't send your note to the list. I just looked on the MPl download page in source forge. It looks like there are binary eggs there for Windows. You should be able to install those in your virtualenv and have it all just work. Just make sure you use the right copy of easy_ins

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Cohen-Tanugi Johann
indeed, I obviously just got entangled in my own debugging. I do manage to get it to do what I want now. sorry for the fuss, Johann Eric Firing wrote: > Cohen-Tanugi Johann wrote: >> ok, maybe it is in scale.py :) >> And what I see there confirms my initial fears : the log scale >> transform ap

Re: [Matplotlib-users] PatchCollection and match_original=True

2009-04-04 Thread Eric Firing
Thomas Robitaille wrote: > Hi, > > I've found that the match_original=True option in PatchCollection > causes matplotlib to crash. I have submitted two bug reports: > > https://sourceforge.net/tracker/?func=detail&aid=2732455&group_id=80706&atid=560720 > https://sourceforge.net/tracker/?func=de

Re: [Matplotlib-users] PatchCollection and match_original=True

2009-04-04 Thread Eric Firing
Thomas Robitaille wrote: > Hi, > > I've found that the match_original=True option in PatchCollection > causes matplotlib to crash. I have submitted two bug reports: > > https://sourceforge.net/tracker/?func=detail&aid=2732455&group_id=80706&atid=560720 > https://sourceforge.net/tracker/?func=de

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Eric Firing
Cohen-Tanugi Johann wrote: > indeed, I obviously just got entangled in my own debugging. I do manage > to get it to do what I want now. > > sorry for the fuss, > Johann No problem at all. I'm glad things are working for you. Eric ---

[Matplotlib-users] PatchCollection and match_original=True

2009-04-04 Thread Thomas Robitaille
Hi, I've found that the match_original=True option in PatchCollection causes matplotlib to crash. I have submitted two bug reports: https://sourceforge.net/tracker/?func=detail&aid=2732455&group_id=80706&atid=560720 https://sourceforge.net/tracker/?func=detail&aid=2723527&group_id=80706&atid=56

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Cohen-Tanugi Johann
hi Eric, then I misunderstood what the code does I thought it was transforming the data. In any case, my second figure in my previous post is wrong because the code should read: plt.errorbar(cE,corrE*fluxes, yerr=corrE*unc_fluxes) instead of plt.errorbar(cE,corrE*fluxes, yerr=unc_fluxes) and

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Eric Firing
Cohen-Tanugi Johann wrote: > ok, maybe it is in scale.py :) > And what I see there confirms my initial fears : the log scale transform > applies a log to the argument, which is incorrect for an error. So > first of all, another transform needs to be created so that erry is > transformed into

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Cohen-Tanugi Johann
ok, maybe it is in scale.py :) And what I see there confirms my initial fears : the log scale transform applies a log to the argument, which is incorrect for an error. So first of all, another transform needs to be created so that erry is transformed into erry/y/log(base) where base was 10 i

Re: [Matplotlib-users] error bars on a log log plot

2009-04-04 Thread Cohen-Tanugi Johann
hello, for the sake of concreteness, here is an example without any limit issues : the python script is attached and the 2 resulting figures as well. The dirst one is drawn using log directly in the arguments, and correctly transforming the y-errors into y-errors/y-values/log(10). In the seco

Re: [Matplotlib-users] imread() and PNGs

2009-04-04 Thread Andrew Straw
Eric Firing wrote: > Tobias Wood wrote: >> Hi everyone, >> After getting fed severely fed up with Matlab in recent months I >> downloaded Python, Numpy and Matplotlib to try out as an alternative. So >> far I'm pleasantly impressed, even if building from source on Mac OS X >> is an experience ;)

Re: [Matplotlib-users] imread() and PNGs

2009-04-04 Thread Eric Firing
Tobias Wood wrote: > Hi everyone, > After getting fed severely fed up with Matlab in recent months I > downloaded Python, Numpy and Matplotlib to try out as an alternative. So > far I'm pleasantly impressed, even if building from source on Mac OS X > is an experience ;) However, I have discovere

[Matplotlib-users] imread() and PNGs

2009-04-04 Thread Tobias Wood
Hi everyone, After getting fed severely fed up with Matlab in recent months I downloaded Python, Numpy and Matplotlib to try out as an alternative. So far I'm pleasantly impressed, even if building from source on Mac OS X is an experience ;) However, I have discovered a couple of problems wi