Skip to content

Commit a79752e

Browse files
committed
Reorder parameters
1 parent bb2053c commit a79752e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pygmt/src/grdview.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
def grdview( # noqa: PLR0913
3131
self,
3232
grid: PathLike | xr.DataArray,
33-
mesh_pen: str | None = None,
3433
contour_pen: str | None = None,
3534
facade_pen: str | None = None,
35+
mesh_pen: str | None = None,
3636
projection: str | None = None,
3737
zscale: float | str | None = None,
3838
zsize: float | str | None = None,
@@ -63,6 +63,9 @@ def grdview( # noqa: PLR0913
6363
- JZ = zsize
6464
- R = region
6565
- V = verbose
66+
- Wc = contour_pen
67+
- Wf = facade_pen
68+
- Wm = mesh_pen
6669
- c = panel
6770
- p = perspective
6871
- t = transparency
@@ -107,12 +110,12 @@ def grdview( # noqa: PLR0913
107110
contour_pen
108111
Draw contour lines on top of surface or mesh (not image). Append pen attributes
109112
used for the contours.
110-
mesh_pen
111-
Set the pen attributes used for the mesh. You must also select ``surftype`` of
112-
**m** or **sm** for meshlines to be drawn.
113113
facade_pen
114114
Set the pen attributes used for the facade. You must also select ``plane`` for
115115
the facade outline to be drawn.
116+
mesh_pen
117+
Set the pen attributes used for the mesh. You must also select ``surftype`` of
118+
**m** or **sm** for meshlines to be drawn.
116119
shading : str
117120
Provide the name of a grid file with intensities in the (-1,+1) range, or a
118121
constant intensity to apply everywhere (affects the ambient light).

0 commit comments

Comments
 (0)