Skip to content

Commit 926a690

Browse files
committed
Change to _validate
1 parent 8e5321e commit 926a690

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pygmt/params/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def __post_init__(self):
5151
"""
5252
Post-initialization method to _validate the _aliases property.
5353
"""
54-
self.validate()
54+
self._validate()
5555

56-
def validate(self):
56+
def _validate(self):
5757
"""
5858
Validate the parameters of the object.
5959

pygmt/params/box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Box(BaseParam):
8181
shading_offset: Sequence[float | str] | None = None
8282
shading_fill: str | None = None
8383

84-
def validate(self):
84+
def _validate(self):
8585
"""
8686
Validate the parameters.
8787
"""

0 commit comments

Comments
 (0)