Skip to content

Commit c70fe88

Browse files
Improve Figure.shift_origin docstring (#1928)
Co-authored-by: Wei Ji <[email protected]>
1 parent ed591a3 commit c70fe88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygmt/figure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ def shift_origin(self, xshift=None, yshift=None):
395395
"""
396396
Shift plot origin in x and/or y directions.
397397
398-
This method shifts plot origin relative to the current origin by
399-
(*xshift*, *yshift*) and optionally append the length unit (**c**,
400-
**i**, or **p**).
398+
This method shifts the plot origin relative to the current origin
399+
by (*xshift*, *yshift*). Optionally, append the length unit (**c**,
400+
**i**, or **p**). Default unit if not given is **c** for centimeter.
401401
402402
Prepend **a** to shift the origin back to the original position after
403403
plotting, prepend **c** to center the plot on the center of the paper

0 commit comments

Comments
 (0)