Skip to content

Commit a133eec

Browse files
committed
Rename pygmt.param.Pen to pygmt.params.Pen
Following #3995.
1 parent 7d332bb commit a133eec

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

pygmt/param/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

pygmt/params/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
"""
44

55
from pygmt.params.box import Box
6+
from pygmt.params.pen import Pen

pygmt/param/pen.py renamed to pygmt/params/pen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Define the Pen class for specifying pen attributes (width, color, style).
33
"""
4+
45
from dataclasses import dataclass
56

67

pygmt/tests/test_params_pen.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
"""
22
Tests for the Pen param class.
33
"""
4-
from pygmt.param import Pen
4+
5+
from pygmt.params import Pen
56

67

78
def test_param_pen_width_or_color_or_style_only():

0 commit comments

Comments
 (0)