Skip to content

Add "-E" tag to pscoast error message.#4815

Merged
PaulWessel merged 1 commit intoGenericMappingTools:masterfrom
willschlitzer:pscoast-dcw-error-message
Feb 16, 2021
Merged

Add "-E" tag to pscoast error message.#4815
PaulWessel merged 1 commit intoGenericMappingTools:masterfrom
willschlitzer:pscoast-dcw-error-message

Conversation

@willschlitzer
Copy link
Contributor

The error for required arguments for pscoast does not state that -E can potentially be one of the arguments that is passed, but the error handling checks to see if -E is passed, and will plot with it. This was discovered with the new dcw parameter in PyGMT.

Fixes GenericMappingTools/pygmt#903

Reminders

  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Describe changes to function behavior and arguments in a comment below the function declaration.
  • If adding new functionality, add a detailed description to the documentation and/or an example.

@PaulWessel PaulWessel merged commit 9739122 into GenericMappingTools:master Feb 16, 2021
@willschlitzer willschlitzer deleted the pscoast-dcw-error-message branch February 16, 2021 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fig.coast() with just dcw kwarg fails

2 participants