Skip to content

Decorated line (-Sq) doesn't work if the label contains colons #4369

@seisman

Description

@seisman

Originally reported in PyGMT: GenericMappingTools/pygmt#664 (comment)

Full script that generated the error

gmt plot -R0/10/0/10 -JX10c -Sqn1:+lA:B -W2p,tomato,4_2:2p -pdf map << EOF
0  5
10 5
EOF

Output:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions