Skip to content

v2.0.0rc0

Pre-release
Pre-release
Compare
Choose a tag to compare
@t20100 t20100 released this 18 Jan 08:35
· 22 commits to 2.0 since this release

Release notes

This version of silx supports Python 3.7 to 3.12.
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

  • Dropped python 3.6 support, Removed CI for PySide2 by @t20100 in #3712
  • Port v1.1.0 PRs from 1.1 branch and bumps version to 1.2.0dev by @t20100 in #3711
  • 3713 bitshuffle decompression by @kif in #3714
  • Fix HDF5TableView virtual and external dataset information by @woutdenolf in #3717
  • skip if h5py is too old by @kif in #3722
  • Skipif on test rather than on fonction ... by @kif in #3723
  • CI: Use intel-opencl-icd package by @t20100 in #3727
  • Fixed support of pint >= 0.20 by @t20100 in #3725
  • silx.gui.plot: Fixed reset of interaction when closing mask tool by @t20100 in #3735
  • Dedicated function to parse gl version by @vallsv in #3733
  • silx.gui.plot: Fixed issue when PlotWidget has a size of 0 by @t20100 in #3736
  • Update rules by @kif in #3732
  • silx.gui: Fixed support of PySide6.4 enums by @t20100 in #3737
  • Fixed numpy, scipy, matplotlib deprecation warnings by @t20100 in #3741
  • Fix histogram visibility by @vallsv in #3742
  • Added pytest-mock to Debian build dependencies by @t20100 in #3740
  • h5todict errors argument bug by @woutdenolf in #3749
  • 3747 h5todict string issue by @woutdenolf in #3748
  • Update tutorials.rst by @kif in #3765
  • Fixed support of cython 3.0.0b1 by @t20100 in #3770
  • [silx view] Fixed support of NXData image with 0-length axis by @t20100 in #3768
  • Fixed build-deb.sh: Avoid to run Python from src/silx by @t20100 in #3772
  • Update PlotWidget.py by @payno in #3773
  • silx.math: Fix several function docstrings by @loichuder in #3774
  • Correct numpy 1.25 deprecation warnings by @vasole in #3777
  • close 3778 by @kif in #3779
  • Fixed silx.io.h5py_utils.retry by @t20100 in #3775
  • silx.opencl.codec : Added support of pyopencl's Buffer and Array to BitshuffleLz4.decompress by @t20100 in #3787
  • silx.gui.data: Fixed issue with hdf5 attributes string formatting by @t20100 in #3790
  • silx.gui.widget.UrlSelectionTable: Fixed exception with interaction, renamed get|setSelection to get|setUrlSelection by @t20100 in #3791
  • launcher: Better error message by @vallsv in #3793
  • silx.gui.dialog.ColormapDialog: Fixed ColormapDialog layout by @t20100 in #3792
  • ioutils: Supports recursive match "**" by @vallsv in #3795
  • color: Exception if vrange is not finite by @vallsv in #3794
  • gui: Expose silx dnd uri by @vallsv in #3796
  • silx.io.dictdump: Removed dicttoh5 overwrite_data argument by @t20100 in #3806
  • This test fails on edna site with a CPU device by @kif in #3809
  • Remove deprecated modules by @t20100 in #3804
  • Removed features deprecated since <=0.7.0 by @t20100 in #3798
  • Improve url selection by @vallsv in #3797
  • Removed features deprecated from v0.8 to v0.12 by @t20100 in #3799
  • silx.gui.plot.StackView: Removed setColormap autoscale argument by @t20100 in #3805
  • silx.opencl.common: Remove OpenCL.create_context useFp64 argument by @t20100 in #3801
  • Refactor app utils by @vallsv in #3811
  • Removed features deprecated from v0.13 to v0.15 by @t20100 in #3802
  • silx.gui.plot.items: Remove ImageDataAggregated all-NaN warning by @t20100 in #3786
  • silx.math.colormap: Added normalize function to normalize to uint8. by @t20100 in #3785
  • Remove unused imports by @t20100 in #3814
  • Drop support of PySide2 by @t20100 in #3784
  • silx.gui: Added a warning about pyOpenGL and Qt compatibility by @t20100 in #3738
  • silx.gui.qt: Updated PySide6 loadUi function by @t20100 in #3783
  • silx.gui.plot: Removed deprecated methods RegionOfInterest.get|setLabel by @t20100 in #3810
  • Remove python2 support by @t20100 in #3815
  • silx.opencl.backprojection: Remove deprecated fourier_filter function by @t20100 in #3816
  • silx.gui.data.DataView: Removed patch for pymca <v5.3.0 support by @t20100 in #3800
  • Debian12 by @kif in #3812
  • Fix url with slices by @vallsv in #3821
  • Urlselectiontable with 3 columns by @vallsv in #3822
  • silx.io.nxdata.parser: Fixed NXdata validation by @t20100 in #3782
  • silx.gui.plot: Deprecate PlotWidget's Curve and Image sequence-like access by @t20100 in #3803
  • [silx compare] Create a dedicated app to compare images by @vallsv in #3788
  • Polish image compare app by @vallsv in #3827
  • silx.opencl.convolution: Removed Python 2 compatible code by @t20100 in #3818
  • Replace OrderedDict by dict by @t20100 in #3830
  • Add NXnote to the list of describable classes by @alejandrohomsp in #3832
  • silx.gui.plot: Added margins argument to PlotWidget.setLimits by @t20100 in #3828
  • silx.gui.plot: Fixed ImageStack handling of visible state by @t20100 in #3834
  • silx.gui.plot: Fixed display of PlotWindow zoom in/out actions by @t20100 in #3837
  • silx.gui.plot: Added Plotwidget.get|setDefaultColors and updated default colors behavior by @t20100 in #3835
  • Removed copy of scipy's Delaunay from third_party by @t20100 in #3808
  • Remove code for support of fabio<0.9 by @t20100 in #3829
  • Update setup.py build configuration: Removed setup.py commands and options by @t20100 in #3831
  • Documentation: Added silx.gui.plot.items.roi base classes to documentation by @t20100 in #3839
  • silx.gui.colors, silx.gui.plot: Added indexed color names in rgba and PlotWidget by @t20100 in #3836
  • silx.gui.dialog: Fixed ColormapDialog state when updating Item by @t20100 in #3833
  • Fixed typo: 4 " quotes instead of 3. by @t20100 in #3838
  • Remove C header for Python 2 on Windows compatibilty by @t20100 in #3840
  • silx.third_party: Deprecated EdfFile and TiffIO by @t20100 in #3841
  • Fix rgb profile by @vallsv in #3846
  • silx.gui.plot.items.roi: Added RegionOfInterest's getText and setText methods by @t20100 in #3847
  • Added profile to compare image by @vallsv in #3845
  • silx.gui.plot: Added per-axis toggle of PlotWidget zoom by @t20100 in #3842
  • CompareImage: Feature a consistent autoscale by @vallsv in #3823
  • silx.gui.plot: Added per axes zoom to PlotWidget by @t20100 in #3843
  • Update the curve color cycle by @vallsv in #3853
  • Use linewidth2 as default selected style by @vallsv in #3854
  • CompareImages: Fix the A-B visualization mode by @vallsv in #3856
  • Get data without schema by @vallsv in #3859
  • Use "C" prefix to identify a color from the default palette by @vallsv in #3861
  • silx.gui.plot.PlotWidget: do not reset zoom when changing axes scales by @t20100 in #3862
  • silx view: Added keyboard shortcuts for open/close all by @t20100 in #3863
  • compareimage: tune diff profile colors by @vallsv in #3864
  • [OpenCL] atomic operation by @kif in #3855
  • silx.gui.plot.PlotWidget: do not reset zoom when changing axes scales - follow-up by @t20100 in #3869
  • silx.io: Fixed small/big endian support in test by @t20100 in #3873
  • ArcROI: Hide the handler instead of hidding the symbol by @vallsv in #3887
  • There is no such file by @kif in #3899
  • PlotWidget: Added sigBackendChanged by @vallsv in #3890
  • silx.gui.plot: Fixed PlotWidget mouse cursor update by @t20100 in #3904
  • Fix colormap dialog data bound by @vallsv in #3858
  • Silx compare doc by @vallsv in #3884
  • silx.gui.plot.PlotWidget: Fixed display of Shape with dashes and a background color by @t20100 in #3906
  • silx.gui: Check Qt/pyopengl platform compatibility; silx view/compare: Use matplotlib if OpenGL is not available by @t20100 in #3905
  • silx.gui.plot.PlotWidget: Added support for 'other' kind of plot items by @t20100 in #3908
  • add split pseudo-voigt with split lorentzian fraction by @woutdenolf in #3902
  • Build: Removed constraint on setuptools version by @t20100 in #3909
  • Dependency: Replaced setuptools's pkg_resources with packaging as runtime dependency by @t20100 in #3910
  • silx view: Added --slices option by @t20100 in #3860
  • silx.gui: For PySide6 required version is >=6.4 by @t20100 in #3872
  • Arc roi getPositionRole by @vallsv in #3894
  • Added populateContextMenu to ROIs by @vallsv in #3891
  • silx.opencl.common: Reworked initialisation of the module by @t20100 in #3903
  • Fix: Datasets with many rows fail to load due to incorrect variable type by @carez in #3926
  • Do not probe GPU interfaced with PoCL by @kif in #3924
  • 3932 pyopencl ctx by @kif in #3933
  • [dicttoh5] better error message for non-serializable data by @woutdenolf in #3937
  • Fix order of floating point operations by @kif in #3935
  • Issue #3942 - silx compare typo by @lesaintjerome in #3943
  • Add typings for PlotAction by @loichuder in #3941
  • io.utils.open: do not lock the file by @woutdenolf in #3939
  • tools: Clean-up Python2 support code by @t20100 in #3952
  • silx view: Fixed setting focus at startup when opening a dataset by @t20100 in #3953
  • silx.gui.plot.tools.roi: Fixed RegionOfInterestTableWidget glitch by @t20100 in #3954
  • silx view: Stopped displaying a message box for each error by @t20100 in #3955
  • silx.gui.plot.items: Added Marker item font configuration; silx.config: Added DEFAULT_PLOT_MARKER_TEXT_FONT_SIZE config by @t20100 in #3956
  • silx.gui.plot: Added Python typing by @t20100 in #3957
  • [GUI] Histogram Action. QHoverEvent does not have attribute pos by @vasole in #3960
  • gui: add WaiterOverlay. To display processing wheel on top of another widget by @payno in #3876
  • silx.gui: Fixed PyQt6 support by not using deprecated qt.QPalette.Normal by @t20100 in #3966
  • Fix mark-up and broken link in CONTRIBUTING by @loichuder in #3970
  • Add typings for DataUrl by @loichuder in #3968
  • [CI] Test latest Python 3.12 by @vasole in #3967
  • silx.gui.plot3d.ParamTreeView: Fixed Qt6 support by @t20100 in #3971
  • compare: Few improvements by @vallsv in #3944
  • UrlList: allow removal of url from the list by @payno in #3913
  • silx.gui.plot3d.ParamTreeView and silx.gui.widgets.FloatEdit: Added typing + cleanup by @t20100 in #3972
  • silx.gui.plot.items.image: improve handling of data ndim and shape by @payno in #3976
  • ColormapDialog: upgrade _DataInPlotMode to DisplayMode by @payno in #3964
  • silx.gui.plot.PlotWidget: Use matplotlib tight layout as experimental feature by @vallsv in #3865
  • silx.gui: Fixed support of OpenGL with python3.12 and pyopengl <=3.1.7 by @t20100 in #3982
  • Lazy-loading of multiprocessing module by @vasole in #3979
  • Get rid of h5py 3.10.0 deprecation warning by @vasole in #3980
  • silx.gui.colors: Added typing by @t20100 in #3974
  • silx.gui: Added support for QT_API environment variable by @t20100 in #3981
  • Do not call multiprocessing module in frozen binaries by @vasole in #3984
  • [CI] Test OpenGL on latest software by @vasole in #3983
  • silx.gui.plot.PlotWidget: Refactored item management by @t20100 in #3986
  • silx.gui.plot.tools.PositionInfo: Fixed support of dark theme by @t20100 in #3965
  • silx.gui.plot: Use PlotWidget.get|setActiveScatter instead of PlotWidget._get|setActiveItem(kind="scatter"..) by @t20100 in #3987
  • silx.gui.utils.image: Added support of QImage.Format_Grayscale8 to convertQImageToArray by @t20100 in #3958
  • silx.gui: Fixed QMouseEvent.globalPos() not available with PyQt6 by @t20100 in #3989
  • PlotWindow: add an option to get tape measure by @payno in #3959
  • silx.gui.plot.tools.roi.RegionOfInterestManager: Changed interaction mode for ROI creation by @t20100 in #3978
  • silx.gui.plot.items: Make highlighted RegionOfInterest take priority for interactions by @t20100 in #3975
  • silx.gui.plot.PlotWidget: Added support of dashed line gap color by @t20100 in #3973
  • Using black to format the code by @t20100 in #3991
  • Add test for H5Node soft link to an external link bug by @woutdenolf in #3220
  • silx.gui.plot.PlotWidget: Refactored management of active items by @t20100 in #3988
  • silx.gui.plot.PlotWidget: Changed add* methods return value to return the item instead of its legend by @t20100 in #3996
  • Doc: move to pydata sphinx theme by @payno in #3994
  • silx.gui.plot.PlotWidged: Fixed tick display of timeseries by @t20100 in #4000
  • silx.gui.qt: Fixed PyQt6 support by @t20100 in #3999
  • silx.gui.plot.items.Shape: Changed Shape.get|setLineBgColor to get|setLineGapColor by @t20100 in #4001
  • silx.gui.plot.PlotWidget: Fixed line rendering with OpenGL by @t20100 in #4002
  • [GUI] PyQt6 compatibility by @vasole in #4003
  • FloatEdit: Added widgetResizable by @vallsv in #4006
  • Added StackedProgressBar by @vallsv in #4008
  • silx.gui: improved qWidgetFactory test fixture by @t20100 in #4009
  • Bump to 2.0.dev by @vallsv in #4014
  • Robustness on the colorbar by @vallsv in #4013
  • Added background color for markers by @vallsv in #4012
  • silx.gui.plot.PlotWidget: Updated plot axes tick labels behavior by @t20100 in #4007
  • silx.gui.plot.PlotWidget: Improved line dash rendering for OpenGL backend by @t20100 in #4015
  • Update build-deb.sh by @kif in #4022
  • silx.gui.plot.PlotWidget: Added support of line style defined as (offset, (dash pattern)) by @t20100 in #4020
  • Create an example to check and compare backend features by @vallsv in #4031
  • Fixed mpl marker without background by @vallsv in #4028
  • Improve ruler by @vallsv in #4005
  • Try to use the default font from mpl by @vallsv in #4025
  • remove debian10 and 11 packaging by @t20100 in #4017
  • Antialiasing on opengl markers by @vallsv in #4023
  • cython3 compatibility by @kif in #4033
  • Update documentation by @t20100 in #4037
  • silx.gui.plot.PlotWidget: Improved text background rendering for OpenGL backend by @t20100 in #4034
  • build: Updated build dependencies by @t20100 in #4035
  • Updated and fixed documentation by @t20100 in #4036
  • Documentation: Updated landing page by @t20100 in #4039
  • silx.gui.plot: Added workaround for erroneous DPI reported by Qt by @t20100 in #4038
  • Documentation: Added a link to download the Windows app by @t20100 in #4042
  • Build: Fixed support of PyInstaller v6 by @t20100 in #4041
  • silx.gui.dialog.ColormapDialog: Updated tests by @t20100 in #4044
  • Fixed deprecation warnings by @t20100 in #4045
  • Tests: Fixed test execution by @t20100 in #4043
  • silx.gui.plot3d: Revert unwanted change and fixed deprecation warning by @t20100 in #4046
  • silx.gui.plot and plot3d: Updated font management by @t20100 in #4047

New Contributors

Full Changelog: v1.1.2...v2.0.0rc0