Skip to content

Commit d74da28

Browse files
committed
Rename text_ to text
1 parent 9e33485 commit d74da28

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pygmt/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from pygmt.src.subplot import set_panel as _set_panel
3838
from pygmt.src.subplot import subplot as _subplot
3939
from pygmt.src.ternary import ternary as _ternary
40-
from pygmt.src.text import text_ as _text
40+
from pygmt.src.text import text as _text
4141
from pygmt.src.tilemap import tilemap as _tilemap
4242
from pygmt.src.timestamp import timestamp as _timestamp
4343
from pygmt.src.velo import velo as _velo

pygmt/src/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
it="use_word",
3434
w="wrap",
3535
)
36-
def text_( # noqa: PLR0912, PLR0913, PLR0915
36+
def text( # noqa: PLR0912, PLR0913, PLR0915
3737
self,
3838
textfiles: PathLike | TableLike | None = None,
3939
x=None,

0 commit comments

Comments
 (0)