Skip to main content

Plotting differences with Python

Project description


License: GPL v3 Code style: black coverage Contributor Covenant Documentation Status

pliffy makes difference plots, plots that are simple and informative. At present, pliffy makes difference plots for two independent groups (e.g. treatment vs control) or for two measurements made in the same group (e.g. pre-treatment vs post-treatment). All raw data points are plotted by default, and data is summarised with the mean and confidence interval. The confidence interval is calculated using the appropriate t-distribution and is set to 95% by default.

pliffy plots are simple to generate. The simplest pliffy plot requires only two inputs, data_a and data_b. Because these two datasets (a and b) are used to compute the difference, these plots are referred to as abd plots. For example, with our two datasets already loaded:

>>> from pliffy import PliffyInfoABD, plot_abd
>>> info = PliffyInfoABD(data_a=data_a, data_b=data_b)
>>> plot_abd(info)



Introductory tutorials, how-to's and other useful documentation are available on Read the Docs


pliffy is available on PyPI:

$ python -m pip install pliffy

pliffy officially supports Python 3.8+.


Like this project? Want to help? We would love to have your contribution! Please see CONTRIBUTING to get started.

Code of conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to



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

pliffy-0.1.4.tar.gz (30.2 kB view hashes)

Uploaded Source

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