From: Jouni K. S. <jk...@ik...> - 2012-06-09 19:24:29
|
Alan Griffiths <ala...@gm...> 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 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 valid > point. This sounds a lot like https://github.com/matplotlib/matplotlib/issues/804 There was a bug in the fix for that, which was fixed in https://github.com/matplotlib/matplotlib/pull/873 I think at least the latter fix was merged later than the release candidate was announced. You might want to try a later version. -- Jouni K. Seppänen http://www.iki.fi/jks |