-
Notifications
You must be signed in to change notification settings - Fork 229
Enhance text with extra functionality and aliases #481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4c52613
Allow passing str type into angle argument of text
weiji14 138617f
Alias pen(W) for text
weiji14 45a9858
Alias clearance(C) for text
weiji14 9b8e837
Alias fill(G) for text
weiji14 46e98d7
Remove documentation on clip for fill in text
weiji14 9e7a353
Allow text placement using position argument instead of x/y pairs
weiji14 187a733
Alias offset(D) for text
weiji14 9f42ce1
Remove some lines in docstring
weiji14 ada1f6d
Reorder as angle, font, justify instead of font, angle, justify
weiji14 0b80786
Add centre-middle text to set up map frame first
weiji14 1f1d323
Remove check for missing file in textfiles
weiji14 8b8a1ba
Fix some pylint errors about unused arguments
weiji14 d48bfb5
Refactor text to use -F+t argument when position is set
weiji14 3d942d1
Have test_text_position plot at all 9 possible positions
weiji14 0682c28
Check that plotting text from an external file (@Table_5_11.txt) works
weiji14 f92beb2
Change test name from external to remote
weiji14 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leouieda mentioned before at #321 (comment) to use virtualfiles, and I finally figured out what he meant. Unfortunately,
virtualfile_from_vectors
doesn't yet supportstr
types. This is the error on_check_dtype_and_dim
:From what I can tell, we'll need to use
GMT_Put_Strings
is that right? We should do this refactor in a separate PR, this one is already getting a bit too long.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, as I understand it, we need to use
GMT_Put_Strings
to pass trailing strings to GMT.