[Thread Prev][Thread Next][Index]

Re: [ferret_users] pyferret frame images with nodisplay have small white lines



Hi,

import pyferret
pyferret.start(verify=False, pngonly=True, journal=False, quiet=True)
pyferret.run('set window /xpixel=756.000000 /aspect=0.809524 /outline=0.0 1')
pyferret.run('use levitus_climatology')
pyferret.run('shade/lev=20v temp[k=1]')
pyferret.run('frame/file=tyty.png')

still produces an image with this an annoying thin white horizontal line.
pngonly=True seems a better option that unmapped=True

But I am still confused on the interest to use the outline option.
What for since I am not using any polygon command.
A default value as suggested in documentation /outline=0.5 does not
get rid off this line anyway.
Higher such as 0.5 removes the line but what are the consequences when
I will use ot iv style="clear: both;">
From pyferret code (pyferret/__init__.py)
pngonly: (boolean)    if True, do not display to the console and only raster (PNG)  
                             images can be saved; plots will be generated faster but  
                             removes support for deletion of parts (segments) of a plot.

Regards
Patrick


De: "Patrick Brockmann" <patrick.brockmann@xxxxxxxxxxxx>
À: "ferret users" <ferret_users@xxxxxxxx>
Envoyé: Jeudi 21 Janvier 2021 21:05:39
Objet: [ferret_users] pyferret frame images with nodisplay have small white lines

Hi all,

With pyferret and the -nodisplay option I get some white horizontal lines 
that makes the image captured by the frame command not very nice (at least strange).

Is there a workaround ? 
Initially ( tyty.png
Description: PNG image


[Thread Prev][Thread Next][Index]