GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DOC: Add gallery example to show text formatting by yvonnefroehlich · Pull Request #3987 · GenericMappingTools/pygmt

Conversation

@yvonnefroehlich

@yvonnefroehlich yvonnefroehlich commented Jun 21, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Description of proposed changes

Gallery example related to #3976 for formatting text.

Fixes #3976 (comment)

Preview: https://pygmt-dev--3987.org.readthedocs.build/en/3987/gallery/embellishments/text_formatting.html

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.

Slash Commands

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

  • /format: automatically format and lint the code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
yvonnefroehlich added 3 commits June 21, 2025 18:02
@yvonnefroehlich
Add code for text formatting gallery example
77330ce
@yvonnefroehlich
Remove execution permission
760d5fd
@yvonnefroehlich
Follow code style
26f0c64
@yvonnefroehlich yvonnefroehlich added this to the 0.17.0 milestone Jun 21, 2025
@yvonnefroehlich yvonnefroehlich self-assigned this Jun 21, 2025
@yvonnefroehlich yvonnefroehlich added the documentation Improvements or additions to documentation label Jun 21, 2025
@yvonnefroehlich
Split code
4c5d25b
@yvonnefroehlich
yvonnefroehlich marked this pull request as draft June 21, 2025 16:23
yvonnefroehlich added 3 commits June 21, 2025 21:18
@yvonnefroehlich
Add docs
33dc050
@yvonnefroehlich
Fix typo
ec9a6a8
@yvonnefroehlich
Use line length
74933b1
seisman
seisman reviewed Jun 22, 2025
View reviewed changes
Comment thread examples/gallery/embellishments/text_formatting.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

seisman
seisman reviewed Jun 22, 2025
View reviewed changes
Comment thread examples/gallery/embellishments/text_formatting.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

yvonnefroehlich added 6 commits June 22, 2025 08:27
@yvonnefroehlich
Mention legnd in docs
b622a53
@yvonnefroehlich
Add comment
5a7d11f
@yvonnefroehlich
Fix typo in formular
7b980b2
@yvonnefroehlich
Adjust figure dimensions
45a74c9
@yvonnefroehlich
Mention title in doc
48d045e
@yvonnefroehlich
Adjust figure dimensions and add comma
084a036
michaelgrund
michaelgrund reviewed Jun 23, 2025
View reviewed changes
Comment thread examples/gallery/embellishments/text_formatting.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@seisman

seisman commented Jun 24, 2025

Copy link
Copy Markdown
Member

Maybe also use formatted text for the plot label and title?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

seisman
seisman reviewed Jun 24, 2025
View reviewed changes
Comment thread examples/gallery/embellishments/text_formatting.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

yvonnefroehlich and others added 7 commits July 7, 2025 20:33
@yvonnefroehlich
Update docs
15b2b8e
@yvonnefroehlich
Update docs
2462e99
@yvonnefroehlich
Merge branch 'main' into add-gallery-textformat
a1ac875
@yvonnefroehlich
Remove double white space
f693d35
@yvonnefroehlich
Update docs
98cf164
@yvonnefroehlich
Merge branch 'main' into add-gallery-textformat
8513300
@yvonnefroehlich
Merge branch 'main' into add-gallery-textformat
02bd41a
@yvonnefroehlich
yvonnefroehlich marked this pull request as ready for review July 18, 2025 10:26
seisman
seisman reviewed Jul 19, 2025
View reviewed changes
Comment thread examples/gallery/embellishments/text_formatting.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread examples/gallery/embellishments/text_formatting.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@seisman seisman added the needs review This PR has higher priority and needs review. label Jul 19, 2025
yvonnefroehlich and others added 3 commits July 19, 2025 14:28
@yvonnefroehlich @seisman
Write complete sentence
cde3f5e
Co-authored-by: Dongdong Tian <[email protected]>
@yvonnefroehlich @seisman
Write only letters within the words in small caps
c05aa65
Co-authored-by: Dongdong Tian <[email protected]>
@yvonnefroehlich
Merge branch 'main' into add-gallery-textformat
29086e8
seisman
seisman approved these changes Jul 19, 2025
View reviewed changes
@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. labels Jul 19, 2025
yvonnefroehlich added 2 commits July 19, 2025 15:46
@yvonnefroehlich
TEST - exclude image in legend tutorial
404bf4d
@yvonnefroehlich
Revert "TEST - exclude image in legend tutorial"
ab0d6c5
This reverts commit 404bf4d.
@yvonnefroehlich

yvonnefroehlich commented Jul 19, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

There seem to be currently some issues with accessing the GMT server (oceania), leading to failing Docs build. I can reproduce this issue locally, e.g.,
legend tutorial

GMTCLibError: Module 'legend' failed with status code 16:
legend [ERROR]: Libcurl Error: Timeout was reached
legend [ERROR]: Unable to obtain remote file @SOEST_block4.png
legend [ERROR]: Cannot find/open file @SOEST_block4.png.
legend [ERROR]: Libcurl Error: Timeout was reached
legend [ERROR]: Unable to obtain remote file @SOEST_block4.png
legend [ERROR]: Cannot find/open file @SOEST_block4.png.

image example

GMTCLibError: Module 'image' failed with status code 72:
image [ERROR]: Libcurl Error: Timeout was reached
image [ERROR]: Unable to obtain remote file https://oceania.generic-mapping-tools.org/cache/needle.jpg

I also have problems to access the GMT forum. Update / Edit: Accessing the forum works for me again.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

yvonnefroehlich added 2 commits July 19, 2025 22:56
@yvonnefroehlich
Fix line length
3764dec
@yvonnefroehlich
Adjust word
c6d5f86
@seisman
seisman merged commit 12b789b into main Jul 20, 2025
@seisman
seisman deleted the add-gallery-textformat branch July 20, 2025 09:29
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@michaelgrund michaelgrund michaelgrund left review comments
@seisman seisman seisman approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@yvonnefroehlich yvonnefroehlich

Labels

documentation Improvements or additions to documentation

Projects

None yet

Milestone

0.17.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@yvonnefroehlich @seisman @michaelgrund
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.