Skip to content

Commit b55f138

Browse files
committed
Bump plotpy version to 2.5.0
1 parent 68eae7b commit b55f138

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

CHANGELOG.md

+23-23
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,9 @@
11
# Changelog #
22

3-
## Version 2.4.3 ##
3+
## Version 2.5.0 ##
44

55
In this release, test coverage is 79%.
66

7-
🛠️ Bug fixes:
8-
9-
* Fix cyclic import in `plotpy.tools` module:
10-
* Some tools in `plotpy.tools` subpackage were importing the `plotpy.plot` module,
11-
which was importing the `plotpy.tools` module, causing a cyclic import issue
12-
* This is now fixed by introducing new constants for axis IDs in the
13-
`plotpy.constants` module, and using them everywhere in the code, thus avoiding
14-
to import the `plotpy.plot` module just to get the axis IDs
15-
* Fix empty label in X/Y cross section plots:
16-
* This is a regression introduced in V2.1.0
17-
* When showing the X/Y cross section plots (using the plot context menu), an empty
18-
label was displayed at the center of each of those plots
19-
* The label now shows "Enable a marker" as previously
20-
* Fix historic unexpected behavior of interactive tools:
21-
* When triggering an interactive tool (e.g. by clicking on the corresponding toolbar
22-
button), the tool `activate` method was called twice, which was not expected, but
23-
was not causing any issue given the current implementation
24-
* However, when defining custom interactive tools, this behavior could lead to
25-
unexpected results (i.e. really executing activation actions twice)
26-
* This is now fixed: the `activate` method is called only once when triggering an
27-
interactive tool
28-
297
💥 New features / Enhancements:
308

319
* Alternative dictionary argument for plot options:
@@ -50,6 +28,28 @@ In this release, test coverage is 79%.
5028
* `plotpy.widgets.selectdialog.SelectDialog`
5129
* `plotpy.widgets.selectdialog.select_with_shape_tool`
5230

31+
🛠️ Bug fixes:
32+
33+
* Fix cyclic import in `plotpy.tools` module:
34+
* Some tools in `plotpy.tools` subpackage were importing the `plotpy.plot` module,
35+
which was importing the `plotpy.tools` module, causing a cyclic import issue
36+
* This is now fixed by introducing new constants for axis IDs in the
37+
`plotpy.constants` module, and using them everywhere in the code, thus avoiding
38+
to import the `plotpy.plot` module just to get the axis IDs
39+
* Fix empty label in X/Y cross section plots:
40+
* This is a regression introduced in V2.1.0
41+
* When showing the X/Y cross section plots (using the plot context menu), an empty
42+
label was displayed at the center of each of those plots
43+
* The label now shows "Enable a marker" as previously
44+
* Fix historic unexpected behavior of interactive tools:
45+
* When triggering an interactive tool (e.g. by clicking on the corresponding toolbar
46+
button), the tool `activate` method was called twice, which was not expected, but
47+
was not causing any issue given the current implementation
48+
* However, when defining custom interactive tools, this behavior could lead to
49+
unexpected results (i.e. really executing activation actions twice)
50+
* This is now fixed: the `activate` method is called only once when triggering an
51+
interactive tool
52+
5353
## Version 2.4.2 ##
5454

5555
In this release, test coverage is 79%.

plotpy/__init__.py

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

23-
__version__ = "2.4.3"
23+
__version__ = "2.5.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)