* make PlotDataItem aware of mapped data
* inf suppression, metadata storage and refactor of data structures
* cleanup, test, and documentation pass
* re-added prepareForPaint, added PlotDataset to sphinx index
* strip more print statements
* indicate (internal) PlotDataset documentation as orphaned to avoid sphinx error
* Do not export PlotDataset
* replacement example
* example comments
* fixes#1769
* Automatically set image to ImageView if imageItem is provided.
Added a test for correct initialization of ImageView with imageItem and levelMode.
* Update PlotItem.py
make update decimate to not unhide curves when items added/removed,
while preserving the Max Traces well behaviour
* Update PlotItem.py
fix typo
* Update PlotItem.py
fix: typo with self as argument
* give better name for the function which handles MaxTraces checkstate change
rename it to _handle_max_traces_toggle
* add doc string to updateDecimation
* add test for PlotItem for external curve visibility control
check if hidden curve would stay hidden when adding or removing other items.
* remove additional empty line between methods
There are small typos in:
- doc/source/how_to_use.rst
- doc/source/region_of_interest.rst
- examples/ViewBox.py
- pyqtgraph/flowchart/Node.py
- pyqtgraph/graphicsItems/AxisItem.py
- pyqtgraph/graphicsItems/PColorMeshItem.py
- pyqtgraph/graphicsItems/PlotDataItem.py
- pyqtgraph/graphicsItems/TargetItem.py
- pyqtgraph/graphicsItems/ViewBox/ViewBox.py
- pyqtgraph/widgets/RawImageWidget.py
Fixes:
- Should read `mapped` rather than `maped`.
- Should read `vector` rather than `vetctor`.
- Should read `value` rather than `vaule`.
- Should read `preferable` rather than `preferrable`.
- Should read `output` rather than `ouptut`.
- Should read `information` rather than `inforation`.
- Should read `information` rather than `infomation`.
- Should read `exempt` rather than `excempt`.
- Should read `emphasizing` rather than `emphacizing`.
- Should read `construction` rather than `constrution`.
* Remove all usage of python2_3.py
Technically these functions were exported at the top level of the library, this removes them without warning... If we want to we can bring them back for there, but I honestly don't think its needed, as we are py3 only now and have been for multiple releases.
This may introduce a number of 'useless cast' or similar but those were always happening anyway
This PR brought to you by sed
* Update varname in hdf example to avoid collision with builtin
* Clean up some leftover comments surrounding imports of compat code
* Unnecessary string casts
* Additional unnecessary casts
* syntax error fix
* more unnecessary casts
* Yet more unnecessary casts
* Many unused import cleanups
Ignored some star imports, some vendored code in colorama, only looked within pyqtgraph the library, not e.g. examples
* SpinBox decimal imported with both import and from import
* 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>
1) no need to get rect(), which is actually defined as
QRect(0, 0, width(), height())
2) use col-maj data() instead of row-maj copyDataTo()
- glLoadMatrixf() takes col-maj
* draw GradientLegend in ViewBox coordinates
* some cleanup
* do not proceed with dummy values
* correct bar and label order, add some styling options
* remove debugging code
* separate out mouse events on main plot area
* work in scenepositions so that detection also works in a layout
* added comments/remove debug statements