From 3d575e3c0d9fc0e47577e8c402f82d4e907cc425 Mon Sep 17 00:00:00 2001 From: tgross03 Date: Wed, 24 Jun 2026 14:05:29 +0000 Subject: [PATCH 1/2] feat!: Make animations module mandatory, Move dependencies --- pyproject.toml | 2 +- src/pyvisgrid/plotting/__init__.py | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a41e009..c5f479a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,11 +46,11 @@ dependencies = [ "toml>=0.10.2", "torch>=2.8.0", "tqdm>=4.67.1", + "radionets-radiotools>=0.3.0", ] [project.optional-dependencies] pyvisgen = ["pyvisgen"] -animations = ["cartopy", "mergedeep", "radionets-radiotools"] all = ["pyvisgrid[pyvisgen]"] diff --git a/src/pyvisgrid/plotting/__init__.py b/src/pyvisgrid/plotting/__init__.py index 9c2786f..245b8df 100644 --- a/src/pyvisgrid/plotting/__init__.py +++ b/src/pyvisgrid/plotting/__init__.py @@ -1,7 +1,15 @@ +from pyvisgrid.plotting.animations import ( + animate_observation, + plot_earth_layout, + plot_observation_state, +) from pyvisgrid.plotting.plotting import plot_dirty_image, plot_mask, plot_ungridded_uv __all__ = [ "plot_ungridded_uv", "plot_mask", "plot_dirty_image", + "plot_earth_layout", + "plot_observation_state", + "animate_observation", ] From fbdd8b8ba99bf68ac62b72fccf0ad61c966e3634 Mon Sep 17 00:00:00 2001 From: tgross03 Date: Wed, 24 Jun 2026 14:08:12 +0000 Subject: [PATCH 2/2] docs: Add changelog --- docs/changes/73.feature.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 docs/changes/73.feature.rst diff --git a/docs/changes/73.feature.rst b/docs/changes/73.feature.rst new file mode 100644 index 0000000..de644b0 --- /dev/null +++ b/docs/changes/73.feature.rst @@ -0,0 +1,2 @@ +* Make animations module mandatory +* Move dependencies of animations module from optional to mandatory