I am not able to reproduce this with 0.98.3 either, with the two example 
lines you've shown.  Perhaps it's an interaction with some other part of 
your script?  Can you provide a complete example that duplicates this 
problem?  Or are those two lines enough for you?

Mike

Markus Haider wrote:
> Am Freitag, den 27.03.2009, 07:58 -0500 schrieb John Hunter:
>   
>> On Fri, Mar 27, 2009 at 5:00 AM, marcusantonius
>> <markus.hai...@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.
>>  
>>     
>
> I am using 0.98.3-3, which is in the Ubuntu packages.
>
> Cheers,
> Markus
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


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

Reply via email to