Skip to content

Commit b72eaac

Browse files
chore: prepare release v0.10.0
1 parent 4f339d8 commit b72eaac

9 files changed

Lines changed: 27 additions & 9 deletions

File tree

CHANGELOG.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ Fragment files in ``upcoming_changes/`` are assembled into this file by
1010

1111
.. towncrier release notes start
1212
13+
0.10.0 (2026-09-14)
14+
===================
15+
16+
API and Behaviour Changes
17+
-------------------------
18+
19+
- 2-D pointer events (``pointer_down``, ``double_click``, ``pointer_settled``, ``key_down``) and the hover readout now report ``img_x``/``img_y`` in the pixel-centre convention that markers, widgets and :meth:`~anyplotlib.Plot2D.display_to_data` already used — they read half a pixel right and down before — so ``round(event.img_x)`` names the clicked pixel (``int()`` no longer does), brush strokes land under the cursor, and an ``imshow`` event's ``xdata``/``ydata`` is exactly the axis value of the pixel centre it hits (``pcolormesh`` values are unchanged). (`#73 <https://github.com/CSSFrancis/anyplotlib/pull/73>`_)
20+
- 2-D tick labels now sit on the pixels they name: ``imshow`` axis values are placed at pixel centres (the image extends half a pixel past the first and last value, as matplotlib's ``imshow`` extent does) through the same transform markers and pointer events use, so ticks also follow a letterboxed image instead of spanning the whole gutter, and an ``origin='lower'`` image gets y ticks at all; :meth:`~anyplotlib.Plot2D.set_view` / ``set_xlim`` / ``set_ylim`` read the axis the same way — ``set_xlim(-0.5, n - 0.5)`` is the whole image, ``set_xlim(0, n - 1)`` now crops the outer half pixels — and accept a descending ``origin='lower'`` y axis. (`#74 <https://github.com/CSSFrancis/anyplotlib/pull/74>`_)
21+
22+
23+
New Features
24+
------------
25+
26+
- The 2-D colorbar now writes its display minimum and maximum beside the strip — both ends in one format, and the strip itself coloured through the display window (saturated beyond it, the way the image is) and spanning the image rather than the whole panel — so a labelled scale says how much and not only which way; the image gives up a value gutter budgeted for the numbers (fixed for ordinary values so a contrast drag never moves the image, wider for the rare long ones, dropped in a cell too narrow to keep 40 px of image, and mirrored in :meth:`plot_box`) so they never clip. (`#71 <https://github.com/CSSFrancis/anyplotlib/pull/71>`_)
27+
- Text markers (:meth:`~anyplotlib.Plot2D.add_texts`, :meth:`~anyplotlib.Plot1D.add_texts` and ``add_text``) gained ``fontweight`` for bold labels and ``outline_color`` / ``outline_width`` for a halo stroked under the text, which keeps a label legible over both light and dark parts of an image. (`#73 <https://github.com/CSSFrancis/anyplotlib/pull/73>`_)
28+
29+
1330
0.9.0 (2026-09-11)
1431
==================
1532

docs/_root/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<meta charset="utf-8" />
55
<title>anyplotlib – redirecting…</title>
66
<!-- Redirect to the latest dev docs. -->
7-
<meta http-equiv="refresh" content="0; url=v0.9.0/" />
8-
<link rel="canonical" href="v0.9.0/" />
7+
<meta http-equiv="refresh" content="0; url=v0.10.0/" />
8+
<link rel="canonical" href="v0.10.0/" />
99
</head>
1010
<body>
1111
<p>
12-
Redirecting to <a href="v0.9.0/">v0.9.0 documentation</a>
12+
Redirecting to <a href="v0.10.0/">v0.10.0 documentation</a>
1313
</p>
1414
</body>
1515
</html>

docs/_root/switcher.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"version": "dev",
55
"url": "https://cssfrancis.github.io/anyplotlib/dev/"
66
},
7+
{
8+
"name": "v0.10.0 (stable)",
9+
"version": "v0.10.0",
10+
"url": "https://cssfrancis.github.io/anyplotlib/v0.10.0/"
11+
},
712
{
813
"name": "v0.9.0 (stable)",
914
"version": "v0.9.0",

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
project = "anyplotlib"
1818
copyright = "2026, anyplotlib contributors"
1919
author = "anyplotlib contributors"
20-
release = "0.9.0"
20+
release = "0.10.0"
2121

2222
# When built in CI the workflow sets DOCS_VERSION to the tag name (e.g.
2323
# "v0.1.0") or "dev". Fall back to "dev" for local builds.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exclude = [
1313

1414
[project]
1515
name = "anyplotlib"
16-
version = "0.9.0"
16+
version = "0.10.0"
1717
description = "A plotting library using python, javascript and anywidget for performant in browser plotting."
1818
readme = "README.md"
1919
license = { text = "MIT" }

upcoming_changes/71.new_feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

upcoming_changes/73.api_change.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

upcoming_changes/73.new_feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

upcoming_changes/74.api_change.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)