Skip to content

Commit 0a641c2

Browse files
update changelog for version 2.10.0
1 parent ecbf089 commit 0a641c2

3 files changed

Lines changed: 35 additions & 21 deletions

File tree

doc/release_notes/release_2.09.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
# Version 2.9 #
22

3-
## PlotPy Version 2.9.1 ##
4-
5-
🛠️ Bug fixes:
6-
7-
* Fixed the rectangular snapshot tool's "Original size" computation. This closes
8-
[Issue #57](https://github.com/PlotPyStack/PlotPy/issues/57):
9-
* The preview no longer displays negative dimensions when the X or Y axis is
10-
reversed
11-
* The "Original size" is now computed from pixel coordinates instead of axis
12-
units, so it is correct for `XYImageItem` (and any item with non-uniform
13-
axis scaling) regardless of axis orientation
14-
* The `ValueError` raised by the resize dialog when the selection produced
15-
negative dimensions on a reversed axis is gone
16-
* Selecting a region larger than the plotted image now reports the same
17-
native pixel resolution for both `ImageItem` and `XYImageItem`
18-
(previously `XYImageItem` reported ``shape - 1`` while `ImageItem`
19-
reported the full oversized resolution): exporting at "Original size"
20-
now consistently preserves the source pixel density and avoids
21-
upsampling, regardless of the item type
22-
233
## PlotPy Version 2.9.0 ##
244

255
💥 New features:

doc/release_notes/release_2.10.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Version 2.10 #
2+
3+
## PlotPy Version 2.10.0 ##
4+
5+
✨ New features:
6+
7+
* **Per-axis autoscale strategy**: Added configurable autoscale behavior for each axis via the axis parameters dialog. Three strategies are available: *Auto* (default — compute bounds from items), *Fixed range* (apply user-defined Min/Max values) and *Disabled* (leave the axis untouched on autoscale). New API: `BasePlot.set_axis_autoscale_strategy()` / `BasePlot.get_axis_autoscale_strategy()` (closes [Issue #63](https://github.com/PlotPyStack/PlotPy/issues/63), partial)
8+
* **Symbol border width**: Added an `edgewidth` parameter to `SymbolParam` for customizable marker border thickness — previously the border was always 1 pixel wide
9+
10+
🛠️ Bug fixes:
11+
12+
* **Rectangular snapshot tool** — Fixed the "Original size" computation (closes [Issue #57](https://github.com/PlotPyStack/PlotPy/issues/57)):
13+
* The preview no longer displays negative dimensions when the X or Y axis is
14+
reversed
15+
* The "Original size" is now computed from pixel coordinates instead of axis
16+
units, so it is correct for `XYImageItem` (and any item with non-uniform
17+
axis scaling) regardless of axis orientation
18+
* The `ValueError` raised by the resize dialog when the selection produced
19+
negative dimensions on a reversed axis is gone
20+
* Selecting a region larger than the plotted image now reports the same
21+
native pixel resolution for both `ImageItem` and `XYImageItem`
22+
(previously `XYImageItem` reported ``shape - 1`` while `ImageItem`
23+
reported the full oversized resolution): exporting at "Original size"
24+
now consistently preserves the source pixel density and avoids
25+
upsampling, regardless of the item type
26+
* **Snapshot tool cursor** — Fixed the mouse cursor remaining stuck as a cross (`+`) outside the plot canvas (axes, toolbar) after using the snapshot tool. The modal dialogs are now opened after Qt has released the implicit pointer grab, so the cursor is correctly restored (closes [Issue #58](https://github.com/PlotPyStack/PlotPy/issues/58))
27+
* **Z-axis log tool** — Fixed the `ZAxisLogTool` being always disabled for non-`ImageItem` image types (`XYImageItem`, `MaskedImageItem`, `MaskedXYImageItem`, `TrImageItem`, `RGBImageItem`). The Z-axis log API (`get_zaxis_log_state` / `set_zaxis_log_state`) was moved from `ImageItem` up to `BaseImageItem` so all image item types support it. This notably fixes the tool being permanently greyed out in DataLab's image panel (closes [Issue #59](https://github.com/PlotPyStack/PlotPy/issues/59))
28+
* **Z-axis log data update** — Fixed image data not being recomputed when calling `set_data()` while Z-axis log scale is active — the log-transformed data is now refreshed and the LUT range preserved in log mode
29+
* **`YRangeCursorTool`** — Fixed incorrect inequality display and negative ∆y when the Y-range cursors are inverted (dragging the top cursor below the bottom one). Values are now sorted and ∆y is always positive (closes [Issue #55](https://github.com/PlotPyStack/PlotPy/issues/55))
30+
* **`CurveStatsTool`** — Replaced `min`/`max`/`mean`/`std`/`sum` with their NaN-safe equivalents (`nanmin`, `nanmax`, `nanmean`, `nanstd`, `nansum`) so that signal statistics are computed correctly when the data contains NaN values
31+
32+
⚙️ Dependencies:
33+
34+
* Bumped minimum PythonQwt version from 0.15 to **0.16** to benefit from the Qt6 performance optimizations (closes [Issue #22](https://github.com/PlotPyStack/PlotPy/issues/22) — see [PythonQwt#93](https://github.com/PlotPyStack/PythonQwt/issues/93) for the full optimization log)

plotpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
.. _GitHub: https://github.com/PierreRaybaut/plotpy
2121
"""
2222

23-
__version__ = "2.9.1"
23+
__version__ = "2.10.0"
2424
__VERSION__ = tuple([int(number) for number in __version__.split(".")])
2525

2626
# --- Important note: DATAPATH and LOCALEPATH are used by guidata.configtools

0 commit comments

Comments
 (0)