Skip to content

Conversation

@maxrjones
Copy link
Member

Description of proposed changes

This PR allows specifying through the prefix view that the output format should be set by GMT_GRAPHICS_FORMAT, e.g.,:

gmt basemap -R2000/2020/35/45 -JX12c -Bxa2f+a-30 -BS --GMT_THEME=cookbook -view GMT_-B_slanted

Closes #6508

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.

@maxrjones maxrjones added enhancement Improving an existing feature add-changelog Add PR to the changelog labels Apr 4, 2022
@maxrjones maxrjones requested a review from PaulWessel April 4, 2022 18:01
Copy link
Member

@PaulWessel PaulWessel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works!

@maxrjones maxrjones merged commit 3740fa8 into master Apr 4, 2022
@maxrjones maxrjones deleted the oneliner-graphics-mode branch April 4, 2022 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow use of GMT_GRAPHICS_FORMAT for one-liners

3 participants