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()

and

>>> import 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
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to