Hi,
I noticed that vertical and horizontal lines with a line width < 1
are displayed with a line width of 1 on WxAgg with recent version of
matplotlib.
I use matplotlib 0.98.5.2 on Windows XP, and Ubuntu Linux 9.04.
For example :
import pylab
pylab.plot([0,0],[0,1],linewidth=0.5)
[<matplotlib.lines.Line2D object at 0x031FE510>]pylab.show()
andimport pylab
pylab.plot([0,0],[0,1],linewidth=1)
[<matplotlib.lines.Line2D object at 0x031FE510>]
pylab.show()
produce the same result.
The same bug occurs when I export the figure as a png (but not on pdf
export). It did not occur on earlier matplotlib releases (at least, not
on 0.91.2).
Sorry if this is a known bug, or even an already corrected one, but I
couldn’t find any mention of it on Sourceforge last changelog, nor
elsewhere.
Nicolas