66604593c1
enforce enableMenu in ViewBox |
||
---|---|---|
doc | ||
examples | ||
pyqtgraph | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
azure-pipelines.yml | ||
azure-test-template.yml | ||
CHANGELOG | ||
CONTRIBUTING.txt | ||
LICENSE.txt | ||
MANIFEST.in | ||
README.md | ||
setup.py | ||
test.py | ||
tox.ini |
PyQtGraph
A pure-Python graphics library for PyQt/PySide
Copyright 2017 Luke Campagnola, University of North Carolina at Chapel Hill
PyQtGraph is intended for use in mathematics / scientific / engineering applications. Despite being written entirely in python, the library is fast due to its heavy leverage of numpy for number crunching, Qt's GraphicsView framework for 2D display, and OpenGL for 3D display.
Requirements
- PyQt 4.7+, PySide, PyQt5, or PySide2
- python 2.7, or 3.x
- NumPy
- For 3D graphics: pyopengl and qt-opengl
- Known to run on Windows, Linux, and Mac.
Support
- Report issues on the GitHub issue tracker
- Post questions to the mailing list / forum or StackOverflow
Installation Methods
- From PyPI:
- Last released version:
pip install pyqtgraph
- Latest development version:
pip install git+https://github.com/pyqtgraph/pyqtgraph
- Last released version:
- To install system-wide from source distribution:
python setup.py install
- Many linux package repositories have release versions.
- To use with a specific project, simply copy the pyqtgraph subdirectory anywhere that is importable from your project.
- For installation packages, see the website (pyqtgraph.org)
Documentation
The easiest way to learn pyqtgraph is to browse through the examples; run python -m pyqtgraph.examples
for a menu.
The official documentation lives at http://pyqtgraph.org/documentation
Testing
To test the pyqtgraph library, clone the repository, and run pytest pyqtgraph
. For more thurough testing, you can use tox
, however the tox-conda plugin is required. Running tox
on its own will run pytest pyqtgraph -vv
on it's own, however if you want to run a specific test, you can run tox -- pyqtgraph/exporters/tests/test_svg::test_plotscene
for example.
Dependencies include:
- pytest
- pytest-cov
- pytest-xdist
- tox
- tox-conda