Thanks for your reply, Andrew,
I previously tried your solution that I found on gitub, but I used a png output, which worsened the results (it added colored lines onto the map, and not only on the coasts). Now trying the pdf format (with PyFerret 7.63 and nodisplay), I can report that it works well. However, I am not fully satisfied with the shading of the field I plot. It looks more like colored lines than colored areas. (I guess it's normal and I should "Rasterize" the resulting PDF as suggested by Ryo. But it seems a lot of work around to get my graphic outputs).
So, I went back to the PyFerret 7.5 to get nice png outputs. The behavior with the nodisplay option is exactly the same as with PyFerret 7.63 (PNG with horizontal lines, PDF improved with the set win/outline command).
Note that PyFerret 7.5 without the nodisplay option create perfect PNG images, but the PDF is badly framed (I end up having only the lop left quarter or the map).
I do agree with Ryo and hope that PyFerret will be modified so that the framing will be improved and that white lines don't happen in the PNG outputs.
Have a nice day,
Serena
.¸. , . .·´¯`·
><(((º> `·.¸.·´¯`·...¸><(((º>¸.¸. , . .·´¯`· ><(((º> .
`·.¸.·´¯`·...¸><(((º> .
ant-east-asian:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:Verdana,Helvetica,Arial,sans-serif;color:rgb(0,0,0)">When drawing color-filled rectangles and other polygons, this option allows one to specify the thickness of a outline to be drawn around each polygon. The color of the outline will be the same as the fill color. The main purpose of this option is to provide a work-around fix to some PostScript and PDF viewers that show thin white lines in FILL and SHADE plots. Typically only a very small value (0.05) is needed for this fix. If a value of zero is given, these outlines will not be drawn. The default behavior is to not draw these outlines.
Don't set this value too high though, or the outlines will become visible and start to overlap adjacent polygons. (If you try setting it very high, you'll see what I mean.)
Andrew
Dr. Andrew T. Wittenberg
NOAA Geophysical Fluid Dynamics Laboratory