import pyqtgraph_extended as pg
Installation
To get latest release from PyPi: pip install pyqtgraph_extensions
.
Or install from GitHub: pip install git+https://github.com/draustin/pyqtgraph_extensions
.
pyqtgraph_extensions is packaged using Poetry.
Python 3.6 or later is required.
Features
See pyqtgraph_extensions/examples
for some examples.
Axis alignment across multiple plot items
The AlignedPlotItem
is so-called because it uses its parent's graphics layout object for holding its constituent items (view box, axis items and title) rather than creating one internally. Its constituents can therefore be aligned with those of other items in the parent's graphics layout, including the constituent items of other AlignedPlotItem
objects. Here's an example.
More axis controls
AxisItem
is reimplemented with its own buttons for autoranging at the upper and lower limits.
Traditional interactive color bar
pyqtgraph_extensions
adds a MATLAB-style ColorBarItem
which can be linked to multiple ImageItems.
Other
Simplified exporting with the export
function
Easy adding of a second vertical axis on the right hand side (with linked x axis), likewise for a second horizontal axis on the top. See example.
More GLGraphicsItems - see the unit tests.
Testing
I use pytest
with pytest-qt
during development work and tox
to test installation & dependencies.
Plan / outlook
I developed the various features as needed and will continue on the same basis. When I began writing pyqtgraph_extensions
I was just starting out with Python, Git/GitHub, and open source tools in general (I'm a convert from MATLAB).
I'd be happy for any/all features to be moved into pyqtgraph
proper. Feel free to reach out.
Add switch for user interactivity on color bar example.
Documentation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for pyqtgraph_extensions-0.5.9-py3-none-any.whl
Hashes for pyqtgraph_extensions-0.5.9-py3-none-any.whl
Algorithm
Hash digest
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2024 Python Software Foundation
Site map