Skip to main content

Extensions for pyqtgraph

Project description

README

Various extensions for pyqtgraph.

Installing pyqtgraph_extensions creates two namespaces:

  • pyqtgraph_extensions - various classes and functions providing some of extra functionality for pyqtgraph
  • pyqtgraph_extended - a namespace merging pyqtgraph_extensions with the original pyqtgraph

In principle, it should be possible to import pyqtgraph_extended instead of pyqtgraph and have the same behaviour but with new functionality available. So the two options for using this repository are:

import pyqtgraph as pg
import pyqtgraph_extensions as pgx

or

import pyqtgraph_extended as pg

The extensions include:

  • AlignedPlotItem - a substitute for pyqtgraph.PlotItem in which the internal elements are managed by the parent layout. This allows for better control over the alignment and ensuring that the edges of plots line up.
  • Simplified exporting
  • 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.
  • Color bar item - MATLAB-like alternative to Pyqtgraph that supports multiple images
  • More GLGraphicsItems

See pyqtgraph_extensions/examples for some examples.

Dependencies

Required:

Optional:

  • mathx - required (the polar plots in) for pyqtgraph_recipes.

Test environment

tox and tox-conda

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqtgraph_extensions-0.3.tar.gz (49.4 kB view hashes)

Uploaded Source

Built Distribution

pyqtgraph_extensions-0.3-py3-none-any.whl (63.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page