Skip to content
Draft
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
5 changes: 4 additions & 1 deletion pygmt/src/pygmtlogo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def _create_logo( # noqa: PLR0915, PLR0912
theme: Literal["light", "dark"] = "light",
wordmark: Literal["none", "horizontal", "vertical"] = "none",
color: bool = True,
font: str | None = None,
figname: PathLike | None = None,
debug: bool = False,
):
Expand Down Expand Up @@ -81,7 +82,7 @@ def _create_logo( # noqa: PLR0915, PLR0912
hex_factor = 1.1

# Define wordmark
font = "AvantGarde-Book"
# font = "AvantGarde-Book"
match wordmark:
case "vertical":
args_text_wm = {"x": 0, "y": -4.5, "justify": "CT", "font": f"2.5c,{font}"}
Expand Down Expand Up @@ -259,6 +260,7 @@ def pygmtlogo( # noqa: PLR0913
shape: Literal["circle", "hexagon"] = "circle",
theme: Literal["light", "dark"] = "light",
wordmark: Literal["none", "horizontal", "vertical"] = "none",
font: str | None = None,
color: bool = True,
width: float | str | None = None,
height: float | str | None = None,
Expand Down Expand Up @@ -359,6 +361,7 @@ def pygmtlogo( # noqa: PLR0913
theme=theme,
shape=shape,
wordmark=wordmark,
font=font,
figname=logofile.name,
)

Expand Down
Loading