I can't reproduce anything like a bug, either. What backend are you using? Have you tried turning path.simplify on or off? (Makes no difference here, just seems a likely candidate).
Mike Jeff Whitaker wrote: > On 3/19/10 11:10 AM, David J. Raymond wrote: >> I am trying to plot two 1-D masked arrays against each other >> in a line plot and an extraneous straight line appears on >> the plot. This phenomenon only occurs sporadically and with >> certain data sets. I have noticed a similar phenomenon with >> masked arrow arrays, but that is much harder to track down. >> The masked elements are intended to break the plot line so >> that several independent polylines are plotted. (The purpose >> is to plot a map of coastal outlines.) >> >> I am attaching a python script which reproduces the problem, >> but only with a particular data set, which is also attached. >> Sorry, if I try to shorten the data set more than I have >> already, the problem goes away, even if I split the file >> in half an plot each half separately! >> >> I am running on a 32 bit intel processor using debian testing >> and the numpy and matplotlib versions are 1.3 and 0.99.1.2. >> However, the problem also appears on a 64 bit amd processor >> running debian stable with numpy and matplotlib versions >> 1.3 and 0.99.1.1. >> >> The python script is named maskbug.py and the data set is >> trunc1.dat, which is an ascii file. The data set should be >> read on the standard input, i. e., >> >> maskbug.py < trunc1.dat >> >> I have verified by printing the masked arrays that nothing >> appears to go wrong in the conversion from ascii to numpy >> masked array. >> >> Dave Raymond >> Physics Dept. >> New Mexico Tech >> Socorro, NM 87801 >> > > Dave: Can you attach a png image showing what you get? When I run > your script, I get a plot that reasonable (no obviously crazy lines > running across the plot). > > -Jeff >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> >> >> _______________________________________________ >> Matplotlib-devel mailing list >> Matplotlib-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> > > > -- > Jeffrey S. Whitaker Phone : (303)497-6313 > Meteorologist FAX : (303)497-6449 > NOAA/OAR/PSD R/PSD1 Email : jeffrey.s.whita...@noaa.gov > 325 Broadway Office : Skaggs Research Cntr 1D-113 > Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel