On Fri, Mar 27, 2009 at 5:00 AM, marcusantonius <markus.haider@student.uibk.ac.at> wrote:

Hi,

I have a problem when saving my plot as a png. The horizontal lines, which I
inserted via
axhline(y=0.136, xmin=0., xmax=1, color='black',ls=':')
axhline(y=0.094, xmin=0., xmax=1, color='black',ls=':')
are not displayed right in the png file. Saving in pdf works perfectly. I
enclosed the two files in this email.
http://www.nabble.com/file/p22738740/p25.pdf p25.pdf
http://www.nabble.com/file/p22738740/p25.png p25.png

Is there a way to fix this problem?


This appears to be working fine for me with svn matplotlib -- what version are you using?  See also: http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem for information about how to obtain version and other configuration information.
 

Thank you for your help,
Markus
--
View this message in context: http://www.nabble.com/Bug-when-saving-in-PNG--tp22738740p22738740.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users