Skip to content

GMTInvalidInput error for basemap #730

Closed

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.

Activity

  1. welcome commented on Dec 14, 2020

    @welcome

    👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct.

  2. added
    documentation
    on Dec 14, 2020
  3. added this to the 0.3.0 milestone on Dec 15, 2020
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

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions