Skip to content

GMTInvalidInput error for basemap #730

Closed
@willschlitzer

Description

@willschlitzer

There is an if statement under basemap in base_plotting.py to raise an exception if B, L, or T aren't included in kwargs. The aliases for basemap do not include T, so that requirement cannot be completed. In #729 I removed "T in kwargs" from the if statement and changed the text of the exception to display the PyGMT parameter names.

It looks like the T parameter on the GMT docs is in reference to adding a compass or rose to the figure; I can add Tm and Td to the list of kwargs to check for if that is the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions