Plotpy

Latest version: v2.3.5

Safety actively analyzes 641102 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

3.0.0

Possible API compatibility issues:

* Added support for PyQt5 (removed old-style signals)
* Replaced `PyQwt` dependency by the new `python-qwt` package (pure Python reimplementation of the Qwt6 C++ library)
* Removed "curvetype" feature (Yfx, Xfy) which is no longer supported in Qwt6
* Removed curve "fitted" option which is not supported in `qwt`.

Bug fixes:

* scaler.cpp: fixed destination rectangle ValueError test (was continuing execution instead of returning immediately)
* Fixed Issue 4: mingw-w64's _isnan function crash
* Fixed Issue 38: error when quitting "transform.py" on Python 3
* Fixed Issue 19: added all qthelpers.create_action kwargs to plot.PlotManager method
* Fixed Issue 21: Baseplot captured mouseDoubleClickEvent for whole plot area instead of just the axis area
* Fixed Issue 22: added support for int64/uint64 images
* Fixed Issue 24: Item list widget was loosing names of curves
* Fixed Issue 33: update color map axis when active image item has changed
* Fixed Issue 32: show cross sections only for *visible* image items
* Fixed Issue 34: editing any axis (mouse double-click) made the color axis vanish
* Fixed Issue 34: editing color axis parameters should not allowed (not supported) --> the user may change those parameters through the image item properties dialog box
* Fixed Issue 31: added option to sync cross section scales to main plot
* Fixed Issue 30: make.xyimage now accepts lists or tuples for `x` and `y` arguments
* Fixed Issue 26: ImageItem.get_lut_range_max() throwed ValueError
* Fixed Issue 27: X-cross section was not working when image Y-axis was not reversed
* assemble_imageitems: assemble images taking into account the Z-order
* Cross sections: adding image intersections instead of picking one layer only
* Fixed Issue 42: update tools status after registering all curve/image tools
* Fixed Issue 16: ImagePlot/rectangular zoom was ignoring aspect ratio
* Fixed Issue 43: install_requires Pillow instead of PIL
* Fixed Issue 46 (`guiqwt.io.imread`): fixed support for PNG images with transparency palette (Pillow)
* Images with integers: avoid overflows when computing LUT
* Fixed Issue 50: 16-bit images were saved (io.imwrite) using the wrong PIL mode

2.3.5

This release is mainly intended to fix the Windows binary distribution, which was not
supporting NumPy 2.0.

🛠️ Bug fixes:

* Moved back `conftest.py` to the `tests` folder (was in the root folder), so that
`pytest` can be executed with proper configuration when running the test suite
from the installed package

* Removed benchmarks from automated test suite (not relevant for the end user):
added `plotpy-benchmarks` script to run the benchmarks

2.3.4

In this release, test coverage is 79%.

🛠️ Bug fixes:

* Add support for NumPy 2.0:
* Updated build system to use NumPy 2.0 on Python > 3.8 and NumPy 1 on Python 3.8
* Use `numpy.asarray` instead of `numpy.array(..., copy=False)`
* Use `numpy.isin` instead of `numpy.in1d`
* Use `scipy.integrate.trapezoid` instead of `numpy.trapz`

* `ColorMapManager`: fix segmentation fault with PySide6 on Linux

2.3.3

In this release, test coverage is 79%.

🛠️ Bug fixes:

* Moved up `LineCrossSection` import for consistency with other cross-section panels
* Unexpected behavior regarding `io.load_items` and `io.save_items` functions:
* Those functions were serializing and deserializing most of the parameters of the
plot items, but not their visibility state
* This is now fixed: the visibility state of the plot items is now saved and restored
as expected

ℹ️ Other changes:

* Explicitely exclude NumPy V2 from the dependencies (not compatible yet)

2.3.2

Possible API compatibility issues:

* qthelpers.exec_image_save_dialog: reversed the first two parameters (consistency with most Qt functions and with exec_image_open_dialog) ; parent widget is now the first argument, data to be saved being the second one.

Bug fixes:

* Building process was failing (since v2.3.1) on Windows with C compiler other than Microsoft Visual C++

Other changes:

* io.exec_image_save_dialog: added `template` argument to support DICOM files
* Sift:
* Added support for writing DICOM files
* Improved support for DICOM metadata
* Added support for multiple images resizing
* Updated py2exe example (switched to cxFreeze to show how it's done) following <https://groups.google.com/group/guidata_guiqwt/browse_thread/thread/f8db01cf7149e964>
* Updated the build in place batch script: building on Windows with Ms Visual C++

2.3.1

Bug fixes:

* Fixed build failures occuring on non-Windows platforms (Issue 54)
* Fixed requirements in README and setup.py: guiqwt v2.3 requires guidata v1.6

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.