Re: [matplotlib-devel] Incomplete rendering of line plot

2010-04-28 Thread Michael Droettboom
I think this is due to improper use of the path.simplify_threshold value in the simplification code. It should have been squared since it's used in a 2-dimensional euclidean distance calculation. I have made the change to SVN r8280 and updated a few of the unit tests that are now more accurate

Re: [matplotlib-devel] Incomplete rendering of line plot

2010-04-26 Thread Michael Droettboom
Thanks. I can confirm this with today's SVN. I'm looking into the cause. Mike On 04/25/2010 07:11 PM, Tom Aldcroft wrote: > import numpy > import matplotlib > matplotlib.use('Agg') > import matplotlib.pyplot as plt > > y = numpy.array([ > 4., 2., 2., 3., 3., 2., 2., 6., 6., 5., 5., 4., 4., >

[matplotlib-devel] Incomplete rendering of line plot

2010-04-26 Thread Tom Aldcroft
I've run into a case where the rendering in a line plot is incomplete and some lines are not drawn at all. I submitted a question to matplotlib-users with the same subject. Eric Firing responded that this is a manifestation of the "infamous path simplification" bug, which should be fixed in svn.