Skip to content

Commit 271af68

Browse files
committed
Reorder parameters
1 parent 9e9c0d6 commit 271af68

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

pygmt/src/logo.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
def logo( # noqa: PLR0913
1717
self,
1818
position: Position | None = None,
19-
height: float | str | None = None,
2019
width: float | str | None = None,
20+
height: float | str | None = None,
21+
box: Box | bool = False,
22+
style: Literal["standard", "url", "no_label"] = "standard",
2123
projection: str | None = None,
2224
region: Sequence[float | str] | str | None = None,
23-
style: Literal["standard", "url", "no_label"] = "standard",
24-
box: Box | bool = False,
2525
verbose: Literal["quiet", "error", "warning", "timing", "info", "compat", "debug"]
2626
| bool = False,
2727
panel: int | Sequence[int] | bool = False,
@@ -38,10 +38,7 @@ def logo( # noqa: PLR0913
3838
:width: 300px
3939
4040
By default, the GMT logo is 2 inches wide and 1 inch high and will be positioned
41-
relative to the current plot origin. The position can be changed by specifying the
42-
reference point (via ``position_type`` and ``position``) and anchor point (via
43-
``anchor`` and ``anchor_offset``). Refer to :doc:`/techref/reference_anchor_points`
44-
for details about the positioning.
41+
relative to the current plot origin.
4542
4643
Full GMT docs at :gmt-docs:`gmtlogo.html`.
4744
@@ -63,8 +60,8 @@ def logo( # noqa: PLR0913
6360
Parameters
6461
----------
6562
position
66-
Specify the position of the GMT logo. See the :class:`pygmt.params.Position`
67-
class for details.
63+
Specify the position of the GMT logo. See :class:`pygmt.params.Position` for
64+
details.
6865
width
6966
height
7067
Width or height of the GMT logo. Since the aspect ratio is fixed, only one of

0 commit comments

Comments
 (0)