2.0.0: 2024/01/30
This version of silx
supports Python 3.7 to 3.12.
This is the last version of silx
supporting Python 3.7.
The silx.gui
package supports PySide6
, PyQt6
and PyQt5
(PySide2
is no longer supported).
Breaking API change: silx.gui.plot.PlotWidget
's add methods (i.e., addCurve
, addImage
, ...) returns the plot item object instance instead of its legend (#3996).
What's Changed...
silx applications
-
Added
silx compare
, a dedicated application to compare images (PR #3788, #3827, #3884, #3943, #3944) -
silx view
:- Added
--slices
option (PR #3860) - Added supports for data URL containing "**" to match multiple sub groups (PR #3795)
- Added keyboard shortcuts for open/close all (PR #3863)
- Improved: Stopped displaying a message box for each error (PR #3955)
- Improved: Use matplotlib if OpenGL is not available (PR #3905)
- Fixed support of NXData image with 0-length axis (PR #3768)
- Fixed setting focus at startup when opening a dataset (PR #3953)
- Added
-
silx.app.utils
: Refactored (PR #3811)
silx.io
-
silx.io.dictdump
: -
silx.io.h5py_utils
: -
silx.io.nxdata.parser
: FixedNXdata
validation (PR #3782) -
silx.io.url
: -
silx.io.utils
:
silx.math
- Fixed several function docstrings (PR #3774)
silx.math.colormap
: Addednormalize
function to normalize touint8
(PR #3785)silx.math.fit
: Added split pseudo-voigt with split lorentzian fraction (PR #3902)
silx.opencl
-
Fixed regression with PoCL and order of floating point operations (PR #3935)
-
Fixed: skip test on broken platform (PR #3809)
-
Fixed: prevent crash at init when loading silx with PortableCL + Cuda devices (PR #3924)
-
silx.opencl.atomic
: Added new checking for atomic32 and atomic64 operation (PR #3855) -
silx.opencl.backprojection
: Removed deprecatedfourier_filter
function (PR #3816) -
silx.opencl.codec
: -
`silx.opencl.common``:
-
silx.opencl.convolution
: Removed Python 2 compatible code (PR #3818)
silx.third_party
- Removed copy of scipy's Delaunay from third_party (PR #3808)
- Deprecated
EdfFile
andTiffIO
(PR #3841)
silx.gui
-
silx.gui
:- Added support for
QT_API
environment variable (PR #3981) - Added a warning about pyOpenGL and Qt compatibility (PR #3738)
- Added some Python typing (PR #3957)
- Removed support of PySide6<6.4 (PR #3872)
- Improved
qWidgetFactory
test fixture (PR #4009) - Fixed support of PySide 6.4 enums (PR #3737)
- Fixed support of PyQt6 (PR #3960, #3966, #3989, #3999, #4003)
- Fixed support of OpenGL with python3.12 and pyopengl <=3.1.7 (PR #3982)
- Fixed OpenGL version parsing (PR #3733)
- Added support for
-
silx.gui.colors
: -
silx.gui.constants
: Added: expose URI used to drag and dropDataUrl
(PR #3796) -
silx.gui.data
:- Fixed issue with hdf5 attributes string formatting (PR #3790)
silx.gui.data.DataView
: Removed patch for pymca <v5.3.0 support (PR #3800)silx.gui.data.HDF5TableView
: Fixed virtual and external dataset information (PR #3717)silx.gui.data.RecordTableView
: Fixed issue with datasets with many rows failing to load due to incorrect variable type (PR #3926)
-
silx.gui.dialog
: -
silx.gui.hdf5
: -
silx.gui.qt
: -
silx.gui.plot
:-
silx.gui.plot.actions
: Added typings forPlotAction
(PR #3941) -
silx.gui.plot.items
:-
Added
Marker
item font configuration (PR #3956) -
Added background color for markers and removed automatic background color (PR #4012)
-
Added
get|setLineGapColor
methods toCurve
andHistogram
(PR #3973) -
Renamed
Shape.get|setLineBgColor
toget|setLineGapColor
(PR #4001) -
Deprecated
Curve
andImage
sequence-like access (PR #3803) -
Improved handling of data ndim and shape for image items (PR #3976)
-
Fixed: Removed
ImageDataAggregated
all-NaN warning (PR #3786) -
Fixed
Shape
display with dashes and a background color (PR #3906) -
silx.gui.plot.items.roi
:- Added
RegionOfInterest
'sgetText
andsetText
methods (PR #3847) - Added
populateContextMenu
method to ROIs (PR #3891) - Added
ArcROI.getPositionRole
method (PR #3894) - Added ROIs base classes to documentation (PR #3839)
- Removed deprecated methods
RegionOfInterest.get|setLabel
(PR #3810) - Improved `ArcROI``: Hide the handler instead of hidding the symbol (PR #3887)
- Improved: highlighted RegionOfInterest takes priority for interactions (PR #3975)
- Fixed ROI initialisation with parent (PR #4053)
- Added
-
-
silx.gui.plot.ColorBar
: Fixed division by zero issue (PR #4013) -
silx.gui.plot.CompareImages
: -
silx.gui.plot.ImageStack
: -
silx.gui.plot.ImageView
: Fixed histogram visibility (PR #3742) -
silx.gui.plot.PlotWidget
:-
Breaking changes:
-
Added
margins
argument toPlotWidget.setLimits
(PR #3828) -
Added
Plotwidget.get|setDefaultColors
and updated default colors behavior (PR #3835) -
Added
PlotWidget.sigBackendChanged
(PR #3890) -
Added support for 'other' kind of plot items (PR #3908)
-
Added support of matplotlib tight layout as an experimental feature (PR #3865)
-
Added support of line style defined as
(offset, (dash pattern))
(PR #4020) -
Added support for indexed color names support (PR #3836)
-
Added sample script to check and compare backend features (PR #4031)
-
Changed curve default colors to matchthe one from matplotlib >=2.0 (PR #3853)
-
Changed curve highlighting to use by default a linewidth of 2 (PR #3854)
-
Changed plot axes tick labels behavior to use offsets (PR #4007)
-
Changed: use the default font from mpl (PR #4025)
-
Changed font management (PR #4047)
-
Improved rendering for OpenGL backend (PR #4002, #4015, #4023, #4034, #4038)
-
Fixed documentation (PR #3773)
-
Fixed mouse cursor update (PR #3904)
-
Fixed: do not reset zoom when changing axes scales (PR #3862, #3869)
-
Fixed: use
PlotWidget.get|setActiveScatter
instead of private method (PR #3987) -
Fixed tick display of time series (PR #4000)
-
Fixed matplotlib marker without background (PR #4028)
-
-
silx.gui.plot.PlotWindow
: Fixed display of zoom in/out actions (PR #3837) -
silx.gui.plot.RulerToolButton
: Added interactive plot measurement tool (PR #3959, #4005) -
silx.gui.plot.StackView
: RemovedsetColormap
autoscale
argument (PR #3805) -
silx.gui.plot.tools
:
-
-
silx.gui.plot3d
: -
silx.gui.utils.image
: Added support ofQImage.Format_Grayscale8
toconvertQImageToArray
(PR #3958) -
silx.gui.widgets
:-
silx.gui.widgets.FloatEdit
: -
silx.gui.widgets.StackedProgressBar
: Added widget displaying more complex information progress information (PR #4008) -
silx.gui.plot.widgets.UrlList
: AddedUrlList
widget (PR #3913) -
silx.gui.widget.UrlSelectionTable
: -
silx.gui.widgets.WaiterOverlay
: Added a widget to display processing wheel on top of another widget (PR #3876)
-
-
silx.utils
:
Miscellaneous
-
Dependencies:
- Removed support of Python 3.6 (PR #3712),
PySide2
(PR #3784) andfabio
<0.9 (PR #3829) - Replaced
setuptools
'spkg_resources
withpackaging
as runtime dependency (PR #3910) - Fixed support of
pint
>= 0.20 (PR #3725),cython
(PR #3770, #4033) andPyInstaller
v6 (PR #4041) - Fixed deprecation warnings from
numpy
,scipy
,matplotlib
andh5py
(PR #3741, #3777, #4045, #3980)
- Removed support of Python 3.6 (PR #3712),
-
Clean-up:
- Removed features deprecated since <1.0.0 (PR #3798, #3799, #3802, #3804)
- Removed remaining Python2 support (PR #3815, #3840, #3952)
- Removed unused imports (PR #3814)
- Replaced
OrderedDict
bydict
(PR #3830) - Updated: Using
black
to format the code (PR #3991) - Fixed typo: 4
"
quotes instead of 3. (PR #3838)
-
Build:
-
Debian packaging:
-
Updated documentation (PR #3765, #3899, #3970, #3994, #4037, #4036, #4039, #4042, #4055)
New Contributors
- @loichuder made their first contribution in #3774
- @alejandrohomsp made their first contribution in #3832
- @carez made their first contribution in #3926
- @lesaintjerome made their first contribution in #3943
Full Changelog: v1.1.2...v2.0.0