Skip to content

Commit 1816b6a

Browse files
committed
Merge branch 'master' into develop
# Conflicts: # CHANGELOG.md
2 parents 70ae57a + 0d6ceab commit 1816b6a

File tree

7 files changed

+673
-327
lines changed

7 files changed

+673
-327
lines changed

CHANGELOG.md

+29-27
Original file line numberDiff line numberDiff line change
@@ -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

7577
In this release, test coverage is 79%.

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ graft qtdesigner
33
graft src
44
graft colormaps
55
include *.desktop
6-
include conftest.py
76
include CHANGELOG.md
87
include requirements.txt

0 commit comments

Comments
 (0)