From 01c347b4f9a6869da5401581b77fe5cc817698ff Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 3 Aug 2026 01:55:30 +0000 Subject: [PATCH] chore: prepare release v0.7.2 --- CHANGELOG.rst | 18 ++++++++++++++++++ docs/_root/index.html | 6 +++--- docs/_root/switcher.json | 5 +++++ docs/conf.py | 2 +- pyproject.toml | 2 +- upcoming_changes/+overlay_mask_tile.bugfix.rst | 10 ---------- 6 files changed, 28 insertions(+), 15 deletions(-) delete mode 100644 upcoming_changes/+overlay_mask_tile.bugfix.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2a9bc8ef..ec740d56 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,24 @@ Fragment files in ``upcoming_changes/`` are assembled into this file by .. towncrier release notes start +0.7.2 (2026-08-03) +================== + +Bug Fixes +--------- + +- ``Plot2D.set_overlay_mask`` now works in TILE mode. The renderer sizes the mask + against ``base_width || image_width`` -- the tile overview grid -- but tile mode + sets ``image_width`` to the full native frame, so the shape check accepted only + the one shape the renderer silently discards (``maskCache = null``, no error) and + rejected the one that actually renders. On a 4096x4096 tiled plot neither a + 1024x1024 nor a 4096x4096 mask could be drawn: the first raised ``ValueError``, + the second encoded 22.4 MB the renderer dropped. Both shapes are now accepted and + a full-resolution mask is reduced to the overview grid with a block ANY -- never + a subsample, so an object a few pixels across cannot vanish into a skipped + sample. + + 0.7.1 (2026-08-02) ================== diff --git a/docs/_root/index.html b/docs/_root/index.html index dd7a0ea5..5e1cad22 100644 --- a/docs/_root/index.html +++ b/docs/_root/index.html @@ -4,12 +4,12 @@ anyplotlib – redirecting… - - + +

- Redirecting to v0.7.1 documentation… + Redirecting to v0.7.2 documentation

diff --git a/docs/_root/switcher.json b/docs/_root/switcher.json index 0355beb9..1bf578ff 100644 --- a/docs/_root/switcher.json +++ b/docs/_root/switcher.json @@ -4,6 +4,11 @@ "version": "dev", "url": "https://cssfrancis.github.io/anyplotlib/dev/" }, + { + "name": "v0.7.2 (stable)", + "version": "v0.7.2", + "url": "https://cssfrancis.github.io/anyplotlib/v0.7.2/" + }, { "name": "v0.7.1 (stable)", "version": "v0.7.1", diff --git a/docs/conf.py b/docs/conf.py index 553651c1..9172eda3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,7 @@ project = "anyplotlib" copyright = "2026, anyplotlib contributors" author = "anyplotlib contributors" -release = "0.7.1" +release = "0.7.2" # When built in CI the workflow sets DOCS_VERSION to the tag name (e.g. # "v0.1.0") or "dev". Fall back to "dev" for local builds. diff --git a/pyproject.toml b/pyproject.toml index eea6e756..d5c2bb33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ exclude = [ [project] name = "anyplotlib" -version = "0.7.1" +version = "0.7.2" description = "A plotting library using python, javascript and anywidget for performant in browser plotting." readme = "README.md" license = { text = "MIT" } diff --git a/upcoming_changes/+overlay_mask_tile.bugfix.rst b/upcoming_changes/+overlay_mask_tile.bugfix.rst deleted file mode 100644 index 7f06a1e4..00000000 --- a/upcoming_changes/+overlay_mask_tile.bugfix.rst +++ /dev/null @@ -1,10 +0,0 @@ -``Plot2D.set_overlay_mask`` now works in TILE mode. The renderer sizes the mask -against ``base_width || image_width`` -- the tile overview grid -- but tile mode -sets ``image_width`` to the full native frame, so the shape check accepted only -the one shape the renderer silently discards (``maskCache = null``, no error) and -rejected the one that actually renders. On a 4096x4096 tiled plot neither a -1024x1024 nor a 4096x4096 mask could be drawn: the first raised ``ValueError``, -the second encoded 22.4 MB the renderer dropped. Both shapes are now accepted and -a full-resolution mask is reduced to the overview grid with a block ANY -- never -a subsample, so an object a few pixels across cannot vanish into a skipped -sample.