DOC: Add gallery example for PyGMT logo#4715
Conversation
Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
| The visual is available in circle and hexagon shapes. It can be plotted using colors | ||
| of Python (blue Earth and yellow compass lines) and GMT (red letters GMT) or in black | ||
| and white as well as in light or dark mode. The wordmark can be added on the right | ||
| side or at the bottom of the visual. |
There was a problem hiding this comment.
Parehaps rewording it like:
The visual logo is available in circle and hexagon shapes. It supports both colored and monochrome black‑and‑white palettes, alongside light and dark theme modes, combining to yield 8 distinct standalone icon variants.
Separately, the visual logo can optionally include the wordmark "PyGMT"; if enabled, the wordmark can be positioned either to the right of the icon or beneath it.
There was a problem hiding this comment.
I made some changes to the formulations, but still not 100 % happy. Would like to include some background of the desgin idea.
There was a problem hiding this comment.
Would like to include some background of the desgin idea.
That's a good idea,but I feel it should be added directly to the docstring of the Figure.pygmtlogo method
seisman
left a comment
There was a problem hiding this comment.
Looks good to me except two minor comments.
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
| fig.show() | ||
|
|
||
|
|
||
| # sphinx_gallery_thumbnail_number = 3 |
There was a problem hiding this comment.
Still debating whether to use image 1 or 3 for the thumbnail image.
Description of proposed changes
Add a gallery example showing how to add the PyGMT logo to a plot.
Preview:
Guidelines
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