@@ -6,6 +6,28 @@ In this release, test coverage is 79%.
66
77💥 New features / Enhancements:
88
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+
931* Added "Lock LUT range" option for image items:
1032 * This new option is disabled by default, which matches the previous behavior:
1133 when updating an image item data, the LUT range is automatically adjusted to
@@ -20,12 +42,16 @@ In this release, test coverage is 79%.
2042 * See test script ` tests.features.test_image_data_update ` for an example of usage
2143 of the new option and tool
2244
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
2647
2748🛠️ Bug fixes:
2849
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)
2955* Fix cyclic import in ` plotpy.tools ` module:
3056 * Some tools in ` plotpy.tools ` subpackage were importing the ` plotpy.plot ` module,
3157 which was importing the ` plotpy.tools ` module, causing a cyclic import issue
@@ -46,30 +72,6 @@ In this release, test coverage is 79%.
4672 * This is now fixed: the ` activate ` method is called only once when triggering an
4773 interactive tool
4874
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-
7375## Version 2.4.2 ##
7476
7577In this release, test coverage is 79%.
0 commit comments