On 2012/10/03 8:11 AM, Charleux Ludovic wrote:
> Thanks for your multiple answers. I'll try the same manipulation with
> the 1.2 version as soon as possible. Concerning the debate between the
> use of None and numpy.nan, I tryed both methods before posting and they
> both lead to the same bug on my
Thanks for your multiple answers. I'll try the same manipulation with the
1.2 version as soon as possible. Concerning the debate between the use of
None and numpy.nan, I tryed both methods before posting and they both lead
to the same bug on my version. I'm using the None/numpy.nan trick to plot
fi
On Wed, Oct 3, 2012 at 1:02 PM, Phil Elson wrote:
> I don't get this on matplotlib/master (and therefore probably not on
> 1.2rc2).
>
> I'm pretty sure masked array line plotting was fixed at some point this
> release cycle (I cannot find the appropriate github issue to link to), so I
> suggest t
I don't get this on matplotlib/master (and therefore probably not on
1.2rc2).
I'm pretty sure masked array line plotting was fixed at some point this
release cycle (I cannot find the appropriate github issue to link to), so I
suggest this is a known bug with 1.1.1 and fixed in 1.2. Just to be clea
On 2012/10/03 4:24 AM, Charleux Ludovic wrote:
> Hello,
>
> I want to plot multiple lines using matplotlib.pyplot.plot using the
> None separator: when i zoom or plot lines that go far away from the axis
> limits, they their direction is changed. I encounter a bug shown by the
> folowing code:
>
>
This works for me with 1.2 (not tested before that):
import matplotlib.pyplot as plt
import numpy as np
x = np.array([0, 1, None, 1, 0])
y = np.array([0, 1, None, 0, 1])
plt.plot(x, y)
plt.show()
I get two distinct lines crossing each other at (0.5, 0.5)
HTH,
---