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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pliffy-0.1.2-py3.8.egg (23.0 kB view hashes)

Uploaded Source

pliffy-0.1.2-py3-none-any.whl (22.6 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