Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
```

<div class="banner">
<img src="_static/pygmtlogo.png" alt="PyGMT Logo" style="width: 65%;">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder if we should rename pygmtlogo_light.png back to pygmtlogo.png, just in case some cites have referenced the file.

For reference, pandas used "pandas.svg" and "pandas_white.svg" (https://github.com/pandas-dev/pandas/blob/main/README.md?plain=1).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The following line still uses the old file name:

html_logo = "_static/pygmtlogo.png"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See PR #4794 for both changes.

<img src="_static/pygmtlogo_light.png" alt="PyGMT Logo" style="width: 65%;">
<h2>
A Python interface for the
<a href="https://www.generic-mapping-tools.org/">Generic Mapping Tools</a>
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/pygmtlogo.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def pygmtlogo(
"""
Plot the PyGMT logo.

.. figure:: https://raw.githubusercontent.com/GenericMappingTools/pygmt/main/doc/_static/pygmtlogo.png
.. figure:: https://raw.githubusercontent.com/GenericMappingTools/pygmt/main/doc/_static/pygmtlogo_light.png
:alt: PyGMT logo
:align: center
:width: 400px
Expand Down
Loading