Skip to content

Commit 530c11d

Browse files
authored
Figure.image: Add the frame parameter for option -B (#4301)
1 parent 938e8ec commit 530c11d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pygmt/src/image.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def image( # noqa: PLR0913
2222
invert: bool = False,
2323
projection: str | None = None,
2424
region: Sequence[float | str] | str | None = None,
25+
frame: str | Sequence[str] | bool = False,
2526
verbose: Literal["quiet", "error", "warning", "timing", "info", "compat", "debug"]
2627
| bool = False,
2728
panel: int | Sequence[int] | bool = False,
@@ -48,6 +49,7 @@ def image( # noqa: PLR0913
4849
Full GMT docs at :gmt-docs:`image.html`.
4950
5051
$aliases
52+
- B = frame
5153
- F = box
5254
- I = invert
5355
- J = projection
@@ -94,6 +96,7 @@ def image( # noqa: PLR0913
9496
See `PR #8837 <https://github.com/GenericMappingTools/gmt/pull/8837>`__.
9597
$projection
9698
$region
99+
$frame
97100
$verbose
98101
$panel
99102
$perspective
@@ -106,6 +109,7 @@ def image( # noqa: PLR0913
106109
M=Alias(monochrome, name="monochrome"),
107110
I=Alias(invert, name="invert"),
108111
).add_common(
112+
B=frame,
109113
J=projection,
110114
R=region,
111115
V=verbose,

0 commit comments

Comments
 (0)