Uh oh!
There was an error while loading. Please reload this page.
Figure.pygmtlogo: Initial version for the circular, colored PyGMT logo - #3849
Conversation
yvonnefroehlich
commented
Mar 13, 2025
/format |
I feel the logo definition should be separated into a standalone method, similar to the method to plot the GMT logo. This would allow to plot the PyGMT logo by calling something like |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
yvonnefroehlich
commented
Mar 13, 2025
ruff v0.10.0 was released 2 hours ago causing the newly falling code style checks. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
seisman
commented
Mar 16, 2025
@yvonnefroehlich You can follow the steps below:
Then, you should be able to call |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
seisman
commented
May 2, 2026
I think the circular, colored version of the PyGMT logo is good enough to be finalized. I've changed the base branch to OK to merge after addressing comment #3849 (comment). |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
seisman
commented
May 2, 2026
/format |
Description of proposed changes
Related to #1404 (comment), create the PyGMT logo in Python with PyGMT:
Figure.pygmtlogoorFigure.logo_pygmtas part of theFigureclass oraddition to the method
Figure.logo(which plots the GMT logo)Gallery example-> separate PRRelated to
Preview:
https://pygmt-dev--3849.org.readthedocs.build/en/3849/api/generated/pygmt.Figure.pygmtlogo.html
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash command is:
/format: automatically format and lint the code