From 7e1c87ee7538dd664bb6b60bcedca92e2203a666 Mon Sep 17 00:00:00 2001 From: mferrera Date: Mon, 18 Dec 2023 08:10:54 +0100 Subject: [PATCH] FIX: Use mpl agg backend across all OS's Windows and macOS have intermittent failures without this backend set when running on action runners. It may be a thread safety issue. --- src/xtgeo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xtgeo/__init__.py b/src/xtgeo/__init__.py index cda3a5eb2..06d3084ed 100644 --- a/src/xtgeo/__init__.py +++ b/src/xtgeo/__init__.py @@ -42,7 +42,7 @@ def _xprint(msg): except ImportError: ROXAR = False -if sys.platform == "linux" and not ROXAR: +if not ROXAR: _display = os.environ.get("DISPLAY", "") _hostname = os.environ.get("HOSTNAME", "") _host = os.environ.get("HOST", "")