Michael Droettboom wrote: > Thanks for the report. I'm not actually able to reproduce this here -- > though I suspect this could be related to the recent path simplification > changes. > > Taking a stab in the dark -- have you tried removing the build directory > and rebuilding? distutils doesn't do dependency-tracking, so if header > files change it often doesn't rebuild enough. >
I didn't remove the build subdirectory, but always did a python setup.py clean / remove all mpl stuff from site-packages. Anyway, this time I did remove the build subdirectory but the problem remains. The bug seems to be backend independent and is there since the first support of markevery, on revision 6631. The problem seems to be that the function draw() of Line2D keeps removing the n-th marker for markevery=n, even if it has already done so. I tried to reproduce this on Windows, but the latest release (0.98.5) doesn't support markevery. My 32-bit Ubuntu installation is pretty standard. I could reproduce this on two different computers with the same Ubuntu 8.10 and mpl svn. If I run this script, select the pan/zoom tool and just click on the plot (not dragging, just left clicking in place) each click will remove every second marker until there are no markers left. ------------------------------------------ import matplotlib.pyplot as pl import numpy as np pl.plot(np.arange(100.0),np.arange(100.0),marker="+",markevery=2) pl.show() ------------------------------------------ Best regards, João Silva ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel