Skip to content

Allow for overriding default gmt values (--PAR=value) in pygmt routines #455

Description

@MarkWieczorek

gmt routines allows to temporarily override a default value by adding the string --PAR=value to a gmt function call. For example, this is useful for quickly changing font sizes of labels and annotations.

Though pygmt routines pass kwargs that are reformatted by the functionbuild_arg_string, this does not correctly deal with overriding default parameters. In particular, build_arg_string only adds a single dash, and not two, to the output.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions