From 5659113af2f3056aff0f81622b8a1e057f93eb5d Mon Sep 17 00:00:00 2001 From: David Bold Date: Wed, 6 May 2026 12:02:10 +0200 Subject: [PATCH 1/3] CI: Fixup dependabot config --- .github/dependabot.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4eb5bf2..545b374 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,6 @@ version: 2 updates: - - package-ecosystem: "gitsubmodule" - schedule: - interval: "daily" - directory: "/" - - package-ecosystem: "github-actions" schedule: interval: "daily" From b42360c057917548c95869ad9e382b6e151d8b3c Mon Sep 17 00:00:00 2001 From: David Bold Date: Wed, 6 May 2026 12:04:24 +0200 Subject: [PATCH 2/3] Fixup for when $HOME is not set --- xemc3/core/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xemc3/core/utils.py b/xemc3/core/utils.py index 64eac48..ef22b10 100644 --- a/xemc3/core/utils.py +++ b/xemc3/core/utils.py @@ -226,7 +226,7 @@ def _fft(data): def open(fn, mode="rt", *args): if fn[0] == "~": - fn = os.environ["HOME"] + fn[1:] + fn = os.environ.get("HOME", "") + fn[1:] if mode in ["r", "rb", "rt"]: try: return _org_open(fn, mode, *args) From 6233558dcb8ea98316252031b5767f25b0d01a73 Mon Sep 17 00:00:00 2001 From: David Bold Date: Wed, 6 May 2026 12:23:15 +0200 Subject: [PATCH 3/3] Switch to ipympl backend --- docs/examples/setup_plt.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/examples/setup_plt.py b/docs/examples/setup_plt.py index ee52595..3553bc0 100644 --- a/docs/examples/setup_plt.py +++ b/docs/examples/setup_plt.py @@ -6,6 +6,6 @@ get_ipython().run_line_magic("matplotlib", "inline") # noqa: F821 figsize = 10.0 else: - get_ipython().run_line_magic("matplotlib", "inline") # noqa: F821 + get_ipython().run_line_magic("matplotlib", "ipympl") # noqa: F821 figsize = 6.0 plt.rcParams["figure.figsize"] = [figsize, figsize] diff --git a/requirements.txt b/requirements.txt index e03c6cf..480145f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,5 +25,6 @@ sphinx-argparse-cli ; python_version > "3.6" nbsphinx >= 0.8.6 ipykernel ipywidgets +ipympl tqdm