@@ -6,6 +6,28 @@ In this release, test coverage is 79%.
6
6
7
7
💥 New features / Enhancements:
8
8
9
+ * Alternative dictionary argument for plot options:
10
+ * This new feature was introduced in the context of the cyclic import bug fix,
11
+ to avoid importing the ` plotpy.plot ` module just to get the ` PlotOptions ` or
12
+ ` BasePlotOptions ` classes
13
+ * All classes (and a few functions) that used to take an ` options ` argument as
14
+ a ` BasePlotOptions ` or ` PlotOptions ` instance now also accept a dictionary
15
+ argument with the same keys as the ` BasePlotOptions ` or ` PlotOptions ` class
16
+ attributes, and the same values as the corresponding attributes
17
+ * This concerns the following classes and functions:
18
+ * ` plotpy.plot.BasePlot `
19
+ * ` plotpy.plot.PlotWidget `
20
+ * ` plotpy.plot.PlotDialog `
21
+ * ` plotpy.plot.PlotWindow `
22
+ * ` plotpy.plot.SubPlotWidget `
23
+ * ` plotpy.plot.SyncPlotWindow `
24
+ * ` plotpy.tools.RotateCropTool `
25
+ * ` plotpy.widgets.fit.FitDialog `
26
+ * ` plotpy.widgets.fliprotate.FlipRotateDialog `
27
+ * ` plotpy.widgets.rotatecrop.RotateCropDialog `
28
+ * ` plotpy.widgets.selectdialog.SelectDialog `
29
+ * ` plotpy.widgets.selectdialog.select_with_shape_tool `
30
+
9
31
* Added "Lock LUT range" option for image items:
10
32
* This new option is disabled by default, which matches the previous behavior:
11
33
when updating an image item data, the LUT range is automatically adjusted to
@@ -20,12 +42,16 @@ In this release, test coverage is 79%.
20
42
* See test script ` tests.features.test_image_data_update ` for an example of usage
21
43
of the new option and tool
22
44
23
- ## Version 2.4.3 ##
24
-
25
- In this release, test coverage is 79%.
45
+ * Added missing ` set_style ` method to ` XRangeSelection ` class: this method is used
46
+ to set the style of the range selection item from configuration options
26
47
27
48
🛠️ Bug fixes:
28
49
50
+ * [ Issue #19 ] ( https://github.com/PlotPyStack/PlotPy/issues/19 ) - Fix ` distutils `
51
+ deprecation in setup.py: replaced ` distutils.core ` by ` setuptools ` in the setup.py
52
+ script to avoid the deprecation warning when building the package with Python 3.10
53
+ and 3.11, and to ensure compatibility with earlier Python versions (PlotPy is already
54
+ compatible with the most recent Python versions: this only concerns the build system)
29
55
* Fix cyclic import in ` plotpy.tools ` module:
30
56
* Some tools in ` plotpy.tools ` subpackage were importing the ` plotpy.plot ` module,
31
57
which was importing the ` plotpy.tools ` module, causing a cyclic import issue
@@ -46,30 +72,6 @@ In this release, test coverage is 79%.
46
72
* This is now fixed: the ` activate ` method is called only once when triggering an
47
73
interactive tool
48
74
49
- 💥 New features / Enhancements:
50
-
51
- * Alternative dictionary argument for plot options:
52
- * This new feature was introduced in the context of the cyclic import bug fix,
53
- to avoid importing the ` plotpy.plot ` module just to get the ` PlotOptions ` or
54
- ` BasePlotOptions ` classes
55
- * All classes (and a few functions) that used to take an ` options ` argument as
56
- a ` BasePlotOptions ` or ` PlotOptions ` instance now also accept a dictionary
57
- argument with the same keys as the ` BasePlotOptions ` or ` PlotOptions ` class
58
- attributes, and the same values as the corresponding attributes
59
- * This concerns the following classes and functions:
60
- * ` plotpy.plot.BasePlot `
61
- * ` plotpy.plot.PlotWidget `
62
- * ` plotpy.plot.PlotDialog `
63
- * ` plotpy.plot.PlotWindow `
64
- * ` plotpy.plot.SubPlotWidget `
65
- * ` plotpy.plot.SyncPlotWindow `
66
- * ` plotpy.tools.RotateCropTool `
67
- * ` plotpy.widgets.fit.FitDialog `
68
- * ` plotpy.widgets.fliprotate.FlipRotateDialog `
69
- * ` plotpy.widgets.rotatecrop.RotateCropDialog `
70
- * ` plotpy.widgets.selectdialog.SelectDialog `
71
- * ` plotpy.widgets.selectdialog.select_with_shape_tool `
72
-
73
75
## Version 2.4.2 ##
74
76
75
77
In this release, test coverage is 79%.
0 commit comments