On 08/19/2011 09:19 AM, Andre' Walker-Loud wrote:
>>
>> I agree that this is a bug. (I suspect it is a malign side-effect of
>> some attempt to make bar plots work with a log scale, but I haven't
>> tracked it down.) What is less clear is the desired behavior. Raise an
>> exception? Silently dele
>
> I agree that this is a bug. (I suspect it is a malign side-effect of
> some attempt to make bar plots work with a log scale, but I haven't
> tracked it down.) What is less clear is the desired behavior. Raise an
> exception? Silently delete the points that are invalid with a log scale?
>
On 08/18/2011 10:03 PM, Richard Neher wrote:
> Hi folks,
>
> it seems to me that there is a bug in scatter when using log scale. Have
> a look at the output of the following script:
>
> frompylab import*
>
> print matplotlib.__version__
> x=arange(10)
> plot(x, exp(-x))
> ax=gca()
> ax.set_yscale('
Hi Richard,
I've submitted this a while ago to the mailing list [1] as well, but
nobody answered. :-( Hopefully, somebody knows an answer this time.
- Marcel
[1]
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg20684.html
Am 19
Just a quick note - the last script in my previous email is wrong. I don't
get the problem in that case, I get it if the arrays are 32-bit:
import matplotlib.pyplot as mpl
import numpy as np
np.random.seed(-12421412)
x = np.random.random(1).astype(np.float32)
y = np.random.random(1).as