Installation

Dependencies

Note

See Reference test platforms section for more information about supported platforms, Python versions and Qt bindings.

The PlotPy package requires the following Python modules:

Name

Version

Summary

Python

>=3.9, <4

Python programming language

guidata

>= 3.14.1

Automatic GUI generation for easy dataset editing and display

PythonQwt

>= 0.16

Qt plotting widgets for Python

numpy

>= 1.22

Fundamental package for array computing in Python

SciPy

>= 1.7.3

Fundamental algorithms for scientific computing in Python

scikit-image

>= 0.19

Image processing in Python

Pillow

Python Imaging Library (fork)

tifffile

Read and write TIFF files

Optional modules for GUI support (Qt):

Name

Version

Summary

PyQt5

>5.15.5

Python bindings for the Qt cross platform application toolkit

Optional modules for development:

Name

Version

Summary

build

A simple, correct Python build frontend

babel

Internationalization utilities

Coverage

Code coverage measurement for Python

Cython

>=3.0

The Cython compiler for writing C extensions in the Python language.

pylint

python code static checker

ruff

An extremely fast Python linter and code formatter, written in Rust.

pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

setuptools

Most extensible Python build backend with support for C/C++ extension modules

wheel

Command line tool for manipulating wheel files

Optional modules for building the documentation:

Name

Version

Summary

sphinx

Python documentation generator

myst_parser

An extended [CommonMark](https://spec.commonmark.org/) compliant parser,

sphinx-copybutton

Add a copy button to each of your code cells.

sphinx_qt_documentation

Plugin for proper resolve intersphinx references for Qt elements

python-docs-theme

The Sphinx theme for the CPython docs and related projects

Optional modules for running test suite:

Name

Version

Summary

pytest

pytest: simple powerful testing with Python

pytest-xvfb

A pytest plugin to run Xvfb (or Xephyr/Xvnc) for tests.

Installation using pip

The easiest way to install plotpy is using pip:

pip install plotpy

Installation from source

To install from source, clone the repository or download the source package from PyPI.

Then run the following command (using build):

python -m build