From 9e78da059d26db87c000f7422fa0c0c2dcae9381 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 4 Aug 2024 19:01:22 +0800 Subject: [PATCH] Temporary switch back to virtualfile_from_data in Figure.text --- pygmt/src/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/src/text.py b/pygmt/src/text.py index 994856b7250..a7c6bc1dd7f 100644 --- a/pygmt/src/text.py +++ b/pygmt/src/text.py @@ -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(