Skip to content

Commit f8a00ec

Browse files
weiji14seisman
andcommitted
Update __init__.py with meca import
Co-Authored-By: Dongdong Tian <seisman.info@gmail.com>
1 parent 89b62a2 commit f8a00ec

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pygmt/base_plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,4 +1581,4 @@ def text(
15811581
lib.call_module("text", arg_str)
15821582

15831583
# GMT Supplementary modules
1584-
from pygmt.src.meca import meca # pylint: disable=import-outside-toplevel
1584+
from pygmt.src import meca # pylint: disable=import-outside-toplevel

pygmt/src/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
Source code for PyGMT modules
3+
"""
4+
# pylint: disable=import-outside-toplevel
5+
from pygmt.src.meca import meca

0 commit comments

Comments
 (0)