From 170da9746c4f0e477aab846bde2f1293c93590b5 Mon Sep 17 00:00:00 2001 From: Ogi Moore Date: Sat, 20 Mar 2021 14:09:00 -0700 Subject: [PATCH 1/3] Initial draft of changelog for 0.12.0 --- CHANGELOG | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 65 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index d4f65c89..8070dea2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,9 +1,71 @@ +pyqtgraph-0.12.0 + + Deprecations: + - Qt < 5.12, Python < 3.6, and numpy < 1.17 not supported + + New Features: + - Qt6 Compatibility (thank you so much @pijyoi !) + - #1497 Allow toggling visibility via mouse click on LegendItem + - #1520/#1518 i18n Localization support for dialogs + - #1527 Expand parameter tree documentation + - #1563 Fixes to FlowChart documentation + - #1534 Extend pixmaps for GraphIcons + - #1566 Redid ScatterPlotSpeedTest.py with toggle-able options + - #1572 Arbitrary scale center ROI + - #1581 Equilateral Triangle ROI + + Performance enhancement: + - #1493 significant speedup to invertQTransform() + - #1501 various ImageItem performance improvements + - #1509 mkQApp will now have settings for better HiDPI settings + - #1518 Small Optimizations for functions.rescaleData() + - #1556 Reduce reallocation in dynamic range limiter + - #1560 Cache scatter-plot items by hashable properties + - #1564 Correct id-based keyring of scatter plot pixmap cache + - #1569 Fix ScatterPlotItem performance regression + - #1619 Stop PlotDataItem from always sending full style information to PlotCurveItem/ScatterPlotItem + - #1630 Combine levels and lut only if both are present + - #1632 workaround for np.clip regression since numpy 1.17 + + API/Behavior Change: + - #1476 Use log modulus transform for y-axis log scaling + - #1522 InfiniteLine emits clicked signal event + - #1525 Use QOpenGLWidget instead of QGLWidget + - #1540 Support siPrefix with no suffix in SpinBox + - #1541 Use qWaitForWindowExposed instead of qWaitForWindowShown + - #1554 Disable paint in GLScatterPlotItem if it has no data + - #1573/1576 Add deprecation warnings to portions of library + - #1587 qApp.property('darkMode') is now a dynamic property + - #1613 Added keys() method to Parameter class + - #1641 Introduce functions.clip_array as for np.clip performance regression + + Bug Fixes: + - #1487 Fix InfiniteLabel object has not attribute 'updateText' + - #1491 LinearRegionItem would break with setSpan + - #1496 enableMenu setting now preserved when passing ViewBox to PlotItem + - #1498 PlotDataItem now signals on setPos() + - #1500 AlignCenter should have been AlignHCenter + - #1506 Fix "camerPosition" typo in GLViewWidget + - #1510 Fix RemoteGraphicsView mouse interactions on Qt 5.12 + - #1517 Fix RemoteSpeedTest Shutdown Errors + - #1528 Support suffix for int parameters + - #1546 ImageView guards against key events when there is no time axis + - #1558 Fix Small Heights in ErrorBarItem + - #1567 Handle 0-d arrays in InfiniteLine.setPos() + - #1583 RawImageWidget fix port to QOpenGLWidget + - #1594 PlotItem removeItem regression fixed + - #1595 Workaround for CuPy Indexing Bug + - #1597 Fix RawImageWidget transpose did not handle luminance only images + - #1598 Remove references to self from lambdas for Signals + - #1618 Install sys.excepthook for PyQt6 + - #1639 Fix transformations in GradientLegend + pyqtgraph-0.11.1 New Features: - #800 Legend for bar graphs - #1244 Arrow scatter symbols - - #161 Allow hiding individulal points in scatter plot + - #161 Allow hiding individual points in scatter plot - #395 LegendItem display options - #1310 Added `Pa` to Units - #1310 `debug.ThreadTrace` add support for thread names @@ -35,14 +97,14 @@ pyqtgraph-0.11.1 - #496 Always antialias lines between gradient and region in HistogramLUTItem - #385 Add headWidth parameter to arrows - #551 fps variable on ImageView - - #1251 Allow explict utcOffset timezone in DateAxisItem + - #1251 Allow explicit utcOffset timezone in DateAxisItem - #1310 Add `SignalProxy.block` for temporary disabling of signal forwarding - #1310 `InfiniteLine.setPos` add support for array argument - #1310 Rate-limit Qt event processing in ProgressDialog if it is modal - #1289 Disable autoSIPrefix for DateAxisItem by default - #1274 Add tickAlpha to AxisItem Style Options - #402 Added `clear()` method to `GLViewWidget` - - #1264 Added exception to checkOpenGLVersion to highlight OpenGL ES incompatability + - #1264 Added exception to checkOpenGLVersion to highlight OpenGL ES incompatibility - #1257 Make painter tick font dependent for AxisItem - #1256 Added `setState`, `setState` and `saveState` to `ROI` - #1324 Pass through kwargs from MultiPlotItem.plot to PlotItem.plot From a86f5888160d661b2aa5e289bc4557f535b5e6d1 Mon Sep 17 00:00:00 2001 From: Ogi Moore Date: Tue, 23 Mar 2021 12:44:02 -0700 Subject: [PATCH 2/3] Incorporate suggested changes from NilsNemitz --- CHANGELOG | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 8070dea2..dc2e3d3b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,7 @@ pyqtgraph-0.12.0 Deprecations: - - Qt < 5.12, Python < 3.6, and numpy < 1.17 not supported + - Qt < 5.12, Python < 3.7, and NumPy < 1.17 are no longer supported New Features: - Qt6 Compatibility (thank you so much @pijyoi !) @@ -10,7 +10,7 @@ pyqtgraph-0.12.0 - #1527 Expand parameter tree documentation - #1563 Fixes to FlowChart documentation - #1534 Extend pixmaps for GraphIcons - - #1566 Redid ScatterPlotSpeedTest.py with toggle-able options + - #1566 Toggle-able options for ScatterPlotSpeedTest.py - #1572 Arbitrary scale center ROI - #1581 Equilateral Triangle ROI @@ -19,13 +19,14 @@ pyqtgraph-0.12.0 - #1501 various ImageItem performance improvements - #1509 mkQApp will now have settings for better HiDPI settings - #1518 Small Optimizations for functions.rescaleData() - - #1556 Reduce reallocation in dynamic range limiter + - #1556 Reduce reallocation in PlotDataItem dynamic range limiter - #1560 Cache scatter-plot items by hashable properties - #1564 Correct id-based keyring of scatter plot pixmap cache - #1569 Fix ScatterPlotItem performance regression - #1619 Stop PlotDataItem from always sending full style information to PlotCurveItem/ScatterPlotItem - #1630 Combine levels and lut only if both are present - #1632 workaround for np.clip regression since numpy 1.17 + - #1641 Introduce functions.clip_array as faster replacement for currently slow np.clip API/Behavior Change: - #1476 Use log modulus transform for y-axis log scaling @@ -37,10 +38,9 @@ pyqtgraph-0.12.0 - #1573/1576 Add deprecation warnings to portions of library - #1587 qApp.property('darkMode') is now a dynamic property - #1613 Added keys() method to Parameter class - - #1641 Introduce functions.clip_array as for np.clip performance regression Bug Fixes: - - #1487 Fix InfiniteLabel object has not attribute 'updateText' + - #1487 Fix InfiniteLabel object has no attribute 'updateText' - #1491 LinearRegionItem would break with setSpan - #1496 enableMenu setting now preserved when passing ViewBox to PlotItem - #1498 PlotDataItem now signals on setPos() @@ -48,7 +48,7 @@ pyqtgraph-0.12.0 - #1506 Fix "camerPosition" typo in GLViewWidget - #1510 Fix RemoteGraphicsView mouse interactions on Qt 5.12 - #1517 Fix RemoteSpeedTest Shutdown Errors - - #1528 Support suffix for int parameters + - #1528 Support suffix for int parameters in SpinBox - #1546 ImageView guards against key events when there is no time axis - #1558 Fix Small Heights in ErrorBarItem - #1567 Handle 0-d arrays in InfiniteLine.setPos() From e3f8c091c3fcf1fa2e5663566759e594f42e76b5 Mon Sep 17 00:00:00 2001 From: Ogi Moore Date: Tue, 23 Mar 2021 12:53:46 -0700 Subject: [PATCH 3/3] Update changelog --- CHANGELOG | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index dc2e3d3b..4ef289e8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,8 +5,9 @@ pyqtgraph-0.12.0 New Features: - Qt6 Compatibility (thank you so much @pijyoi !) - - #1497 Allow toggling visibility via mouse click on LegendItem + - #1466 CuPy/CUDA support for ImageItem! (thanks you so much @outofculture !) - #1520/#1518 i18n Localization support for dialogs + - #1497 Allow toggling visibility via mouse click on LegendItem - #1527 Expand parameter tree documentation - #1563 Fixes to FlowChart documentation - #1534 Extend pixmaps for GraphIcons @@ -25,8 +26,10 @@ pyqtgraph-0.12.0 - #1569 Fix ScatterPlotItem performance regression - #1619 Stop PlotDataItem from always sending full style information to PlotCurveItem/ScatterPlotItem - #1630 Combine levels and lut only if both are present - - #1632 workaround for np.clip regression since numpy 1.17 + - #1632/#1641/#1649 workaround for np.clip regression since numpy 1.17 - #1641 Introduce functions.clip_array as faster replacement for currently slow np.clip + - #1637 PlotDataItem Fix viewRange <-> dynamic range limit + - #1650 Introduce functions.clip_scalar to clip scalar values API/Behavior Change: - #1476 Use log modulus transform for y-axis log scaling @@ -38,6 +41,9 @@ pyqtgraph-0.12.0 - #1573/1576 Add deprecation warnings to portions of library - #1587 qApp.property('darkMode') is now a dynamic property - #1613 Added keys() method to Parameter class + - #1646 Removed unhelpful warnings + - #1645 Make main stanza PyQt6 compatible + - #1644 Deprecate use of hex strings that do not start with "#" in mkColor Bug Fixes: - #1487 Fix InfiniteLabel object has no attribute 'updateText' @@ -59,6 +65,9 @@ pyqtgraph-0.12.0 - #1598 Remove references to self from lambdas for Signals - #1618 Install sys.excepthook for PyQt6 - #1639 Fix transformations in GradientLegend + - #1647 Have GraphItem handle empty adjacency array + - #1653 Fix accidentally styled updates in PlotDataItem + - #1651 Use collections.abc for collections metaclasses in colormap.py pyqtgraph-0.11.1