Skip to content

Commit fb916cf

Browse files
committed
Improve the docstring of logo box
1 parent a75f22c commit fb916cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pygmt/src/logo.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from pygmt.alias import Alias, AliasSystem
66
from pygmt.clib import Session
77
from pygmt.helpers import build_arg_list, fmt_docstring, kwargs_to_strings, use_alias
8+
from pygmt.params import Box
89

910

1011
@fmt_docstring
@@ -25,7 +26,7 @@ def logo(
2526
length=None,
2627
height=None,
2728
offset=None,
28-
box=None,
29+
box: Box | str | None = None,
2930
**kwargs,
3031
):
3132
r"""
@@ -48,7 +49,7 @@ def logo(
4849
[**g**\|\ **j**\|\ **J**\|\ **n**\|\ **x**]\ *refpoint*\
4950
**+w**\ *width*\ [**+j**\ *justify*]\ [**+o**\ *dx*\ [/*dy*]].
5051
Set reference point on the map for the image.
51-
box : bool or str
52+
box
5253
If set to ``True``, draw a rectangular border around the
5354
GMT logo.
5455
style : str

0 commit comments

Comments
 (0)