What’s New in Revision 0.8.2.dev
These are the changes in SpectroChemPy-0.8.2.dev. See Release notes for a full changelog, including other versions of SpectroChemPy.
New Features
The welcome message display functionality has been removed.
Implemented lazy matplotlib initialization: SpectroChemPy now loads matplotlib only when plotting is actually used, reducing import-time overhead for non-plotting workflows.
Full interpolation feature for NDDataset (issue #673)
Bug Fixes
Refactored SpectroChemPy initialization and plotting setup to reduce Matplotlib side effects (issue #877). SpectroChemPy no longer modifies global
matplotlib.rcParams.Improved handling of Matplotlib styles, separating logical styles (e.g.
default) from file-based.mplstylestyles.Stabilized plot preferences reset and style application across tests, docs, and CI environments.
Fixed scikit-learn
PLSRegressioncompatibility with scikit-learn >= 1.5.Fixed issue #858 (OMNIC series reader): Added
reverse_xparameter for wavenumber ordering.Fixed issue #856 (osqp dependency, used for IRIS): Added warning for osqp < 1.0.
Fixed MCRALS: Corrected indexing for intermediate spectral matrices (C and St lists).
Fixed issue #875: Cannot subtract offset-naive and offset-aware datetimes.
Dependency Updates
- Major Python compatibility updates:
Maximum Python version increased to 3.14
Minimum Python version increased to 3.11
Dropped support for Python 3.10 and below
osqp > 1.0 is now allowed (#856). A warning is shown for osqp < 1.0, which will not be supported in future versions.
Breaking Changes
Dropped support for Python 3.10 and below.
restore_rcparams()is now deprecated: SpectroChemPy no longer modifies globalmatplotlib.rcParams, so restoration is unnecessary.Plotting initialization behavior has changed internally to reduce global Matplotlib side effects. While intended to be backward compatible, code relying on implicit global
rcParamsside effects may behave differently.
Deprecations
IRIS.plotdistribution(index)is now deprecated. UseIRIS.f[index].plot()instead.