Skip to main content

Plotting differences with Python

Project description

pliffy

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)

pliffy_example_1

Documentation

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

Installing

pliffy is available on PyPI:

$ python -m pip install pliffy

pliffy officially supports Python 3.8+.

Contributing

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 heroux.martin@gmail.com.

License

GPLv3

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.3.tar.gz (18.0 kB view hashes)

Uploaded source

Built Distribution

pliffy-0.1.3-py3-none-any.whl (34.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page