Skip to content

Commit deeaf3f

Browse files
committed
Move makecpt to src
1 parent d81a72f commit deeaf3f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pygmt/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
from pygmt import datasets
1616
from pygmt.figure import Figure
1717
from pygmt.gridops import grdcut, grdfilter
18-
from pygmt.mathops import makecpt
1918
from pygmt.modules import GMTDataArrayAccessor, config, grdinfo, info, which
2019
from pygmt.session_management import begin as _begin
2120
from pygmt.session_management import end as _end
22-
from pygmt.src import blockmedian, grdtrack, surface
21+
from pygmt.src import blockmedian, grdtrack, makecpt, surface
2322
from pygmt.x2sys import x2sys_cross, x2sys_init
2423

2524
# Get semantic version through setuptools-scm

pygmt/src/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
# pylint: disable=import-outside-toplevel
55
from pygmt.src.blockmedian import blockmedian
66
from pygmt.src.grdtrack import grdtrack
7+
from pygmt.src.makecpt import makecpt
78
from pygmt.src.meca import meca
89
from pygmt.src.surface import surface

pygmt/mathops.py renamed to pygmt/src/makecpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
GMT modules for Mathematical operations on tables or grids.
2+
makecpt - Make GMT color palette tables.
33
"""
44
from pygmt.clib import Session
55
from pygmt.exceptions import GMTInvalidInput

0 commit comments

Comments
 (0)