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. However, the script below shows the same problem for me using the current svn on CentOS-5 with python 2.6. For my purposes setting path.simplify to False is fine but Eric requested that I provide an example, so here it is:
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., 7., 7., 2., 2., 4., 4., 2., 2., 2., 2., 4., 4., 4., 4., 4., 4., 7., 7., 3., 3., 5., 5., 4., 4., 5., 5., 4., 4., 7., 7., 6., 6., 2., 2., 2., 2., 5., 5., 4., 4., 4., 4., 6., 6., 3., 3., 4., 4., 3., 3., 2., 2., 3., 3., 4., 4., 4., 4., 4., 4., 6., 6., 5., 5., 4., 4., 7., 7., 3., 3., 4., 4., 4., 4., 5., 5., 4., 4., 7., 7., 3., 3., 4., 4., 4., 4., 6., 6., 4., 4., 4., 4., 4., 4., 2., 2., 5., 5., 6., 6., 3., 3., 5., 5., 4., 4., 0., 0., 5., 5., 1., 1., 4., 4., 5., 5., 4.]) plt.figure(figsize=(7,4)) plt.plot(y) plt.savefig('test.png') plt.xlim(-12000, 8274) plt.savefig('test_panned.png') - Tom ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel