-
Notifications
You must be signed in to change notification settings - Fork 224
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
Need examples for adding texts on maps #469
Comments
Hi - I've been keeping an eye of pygmt for a while. This seemed like a good place to start in helping out. For the example, I've written it in 4 sections:
In putting together this example along the lines of your other tutorials, I encountered a couple of points. Would be good to address/discuss them before I create a pull request.
To reproduce this:
Happy to move this to a separate issue.
Apologies if I've just missed something! Let me know if there's any more information I can provide. |
Hi @hemmelig! Thanks for offering to help out! You're right that there's a few problems with the current In regard to point 2, it's already raised in #255, and will be fixed once GMT 6.1.0 is released and we pull that into PyGMT. |
Could you please open a separate issue and give an example script for this so that we can reproduce it?
Yes,
Improving the |
Can I expect any text preceded by a Other than that, I've got round to finishing a simple tutorial and will submit a pull request from my own fork. |
I believe the examples are written in ReST syntax. You can submit your pull request directly. It's easier for us to review and help improve your PR. |
Add tutorial covering the basics of text annotation with PyGMT. Follows the same format as the existing tutorials. This tutorial covers the currently available suite of arguments in the PyGMT binding to the GMT 6 program 'text'. Resolves: Issue GenericMappingTools#469
Add tutorial detailing how to add text annotations to PyGMT figures. Follows the style of the other tutorials available, showing how to use the currently available arguments in the binding to the underlying GMT program 'text'. Fixes GenericMappingTools#469
Description of the desired feature
We don't have examples for adding texts on maps using
Figure.text()
. The example should be a Python script in theexamples/tutorials
directory. See the other Python scripts in that directory for reference.The text was updated successfully, but these errors were encountered: