Re: [matplotlib-devel] Problem with a clipped line containing nan's (v1.1.1rc on Ubuntu 12.04)

2012-06-11 Thread Alan Griffiths
On Sun, Jun 10, 2012 at 5:24 AM, Jouni K. Seppänen wrote: > Alan Griffiths writes: > >> I've come across a problem (possibly a bug in cleanup_path) after >> plotting a line containing nan's and then scaling the axes so that the >> line is clipped by the a

[matplotlib-devel] Problem with a clipped line containing nan's (v1.1.1rc on Ubuntu 12.04)

2012-06-04 Thread Alan Griffiths
I've come across a problem (possibly a bug in cleanup_path) after plotting a line containing nan's and then scaling the axes so that the line is clipped by the axes. Instead of a gap at the position of the nan value, two extra segments appear - back to the start and then onto the next-plus-one val