Skip to content

Commit d9128c1

Browse files
committed
Fix an import issue
1 parent d8b3151 commit d9128c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pygmt/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from pkg_resources import get_distribution
1313

1414
# Import modules to make the high-level GMT Python API
15-
from . import datasets
1615
from .figure import Figure
1716
from .filtering import blockmedian
1817
from .gridding import surface
@@ -24,6 +23,8 @@
2423
from .session_management import end as _end
2524
from .x2sys import x2sys_cross, x2sys_init
2625

26+
from . import datasets # isort:skip
27+
2728
# Get semantic version through setuptools-scm
2829
__version__ = f'v{get_distribution("pygmt").version}' # e.g. v0.1.2.dev3+g0ab3cd78
2930
__commit__ = __version__.split("+g")[-1] # 0ab3cd78

0 commit comments

Comments
 (0)