Skip to content

Commit

Permalink
Temporary switch back to virtualfile_from_data in Figure.text
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Aug 4, 2024
1 parent 4391db2 commit 9e78da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygmt/src/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def text_( # noqa: PLR0912
confdict = {"PS_CHAR_ENCODING": encoding}

with Session() as lib:
with lib.virtualfile_in(
with lib.virtualfile_from_data(
check_kind="vector", data=textfiles, x=x, y=y, extra_arrays=extra_arrays
) as vintbl:
lib.call_module(
Expand Down

0 comments on commit 9e78da0

Please sign in to comment.