pyqtgraph/tests/graphicsItems
Kenneth Lyons ba7129a719
Add option to limit LinearRegionitem bounds to a secondary item (#1834)
* Added clipItem option to LinearRegionItem

* Added a clipItem option to LinearRegionItem

Handle case when no self.viewBox() is yet available

* Implement LinearRegionItem clipItem

* Undo unnecessary change

* Update clipItem doc

* Fixup docstring formatting

* Cleanup

* Support clearing clipItem via setBounds. Fix initialization bug

* Add tests for LinearRegionItem clipItem

* Better clipItem demo in crosshair example

* Another test to verify claim in docstring

Co-authored-by: Arjun Chennu <arjun.chennu@gmail.com>
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
Co-authored-by: Arjun Chennu <achennu@mpi-bremen.de>
2021-07-17 21:02:06 -07:00
..
PlotItem Clean up test files 2021-05-31 21:06:16 -07:00
ViewBox Clean up test files 2021-05-31 21:06:16 -07:00
test_ArrowItem.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
test_AxisItem.py Revert "skip pytest monkeypatch" 2021-06-15 20:28:08 -07:00
test_ErrorBarItem.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
test_GraphicsItem.py Clean up test files 2021-05-31 21:06:16 -07:00
test_ImageItem.py add __all__ to various files 2021-06-25 21:19:33 +08:00
test_ImageItemFormat.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
test_InfiniteLine.py Use Qt6 Enum Namespace 2021-06-08 21:23:49 -07:00
test_LegendItem.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
test_LinearRegionItem.py Add option to limit LinearRegionitem bounds to a secondary item (#1834) 2021-07-17 21:02:06 -07:00
test_NonUniformImage.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
test_PlotCurveItem.py test the QPolygonF codepath 2021-06-05 15:09:59 +08:00
test_PlotDataItem.py Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
test_ROI.py Fix LineROI handle positions 2021-07-03 07:51:23 -07:00
test_ScatterPlotItem.py Close instead of clear test_scatterplotitm 2021-06-08 21:23:49 -07:00
test_TextItem.py Clean up test files 2021-05-31 21:06:16 -07:00