Skip to content

Conversation

@weiji14
Copy link
Member

@weiji14 weiji14 commented Aug 26, 2023

Description of proposed changes

Replacing apostrophe with Okina letter in a few places. Approximating the Okina letter with a ` (octal code 140) for the roads gallery example.

Preview at https://pygmt-dev--2644.org.readthedocs.build/en/2644/gallery/lines/roads.html

Reference:

Fixes #1474 (comment)

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If wrapping a new module, open a 'Wrap new GMT module' issue and submit reasonably-sized PRs.
  • If adding new functionality, add an example to docstrings or tutorials.
  • Use underscores (not hyphens) in names of Python files and directories.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

Replacing apostrophe with Okina letter in a few places. Approximating the Okina letter with a ` (octal code 140) for the roads gallery example.
@weiji14 weiji14 added documentation Improvements or additions to documentation skip-changelog Skip adding Pull Request to changelog labels Aug 26, 2023
@weiji14 weiji14 self-assigned this Aug 26, 2023
* [Liam Toney](https://liam.earth/) | [0000-0003-0167-9433](https://orcid.org/0000-0003-0167-9433) | University of Alaska Fairbanks, USA
* [Malte Ziebarth](https://github.com/mjziebarth) | [0000-0002-5190-4478](https://orcid.org/0000-0002-5190-4478) | GFZ German Research Centre for Geosciences, Germany
* [Max Jones](https://github.com/maxrjones) | [0000-0003-0180-8928](https://orcid.org/0000-0003-0180-8928) | University of Hawai'i at Mānoa, USA
* [Max Jones](https://github.com/maxrjones) | [0000-0003-0180-8928](https://orcid.org/0000-0003-0180-8928) | University of Hawaiʻi at Mānoa, USA
Copy link
Member Author

Choose a reason for hiding this comment

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

Hi @maxrjones, just checking if you're still happy to keep your affiliation with UoH?

region = [-158.3, -157.6, 21.2, 21.75] # xmin, xmax, ymin, ymax

title = r"Main roads of O\047ahu (Hawai\047i)" # \047 is octal code for '
title = r"Main roads of O\140ahu (Hawai\140i)" # \140 is octal code for `, approximating the Okina ʻ
Copy link
Member Author

@weiji14 weiji14 Aug 26, 2023

Choose a reason for hiding this comment

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

Technically \140 is a backtick ` (U+0060), but this is the closest approximation I know to the Okina letter ʻ (U+02BB) as mentioned at https://github.com/GenericMappingTools/pygmt/pull/2641/files#r1306294445. Anyone who knows how to plot the Okina properly is welcome to chime in!

@weiji14 weiji14 marked this pull request as ready for review August 27, 2023 21:56
@weiji14
Copy link
Member Author

weiji14 commented Aug 27, 2023

Will leave this open for another day (until US Eastern time evening) before merge.

@weiji14 weiji14 merged commit 584a8ba into main Aug 29, 2023
@weiji14 weiji14 deleted the hawaii-with-okina branch August 29, 2023 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants