Skip to content

d.erase

Erases the contents of the active graphics display frame with user defined color.

d.erase [-f] [bgcolor=name] [--verbose] [--quiet] [--qq] [--ui]

Example:

d.erase

grass.script.run_command("d.erase", bgcolor="white", flags=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("d.erase")

Parameters

bgcolor=name
    Background color
    Either a standard color name or R:G:B triplet
    Default: white
-f
    Remove all frames and erase the screen
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

bgcolor : str, optional
    Background color
    Either a standard color name or R:G:B triplet
    Used as: input, color, name
    Default: white
flags : str, optional
    Allowed values: f
    f
        Remove all frames and erase the screen
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

d.erase erases the contents of the active graphics frame, and replaces it with the color black (by default) or by whatever color is specified by the user.

SEE ALSO

d.mon, d.redraw, d.rast, d.vect

AUTHOR

James Westervelt, U.S. Army Construction Engineering Research Laboratory

SOURCE CODE

Available at: d.erase source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f