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.4.tar.gz (30.2 kB view details)

Uploaded Source

File details

Details for the file pliffy-0.1.4.tar.gz.

File metadata

  • Download URL: pliffy-0.1.4.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pliffy-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cd9793110cfc9609bad58da60fd9331bac497ba28405bedd87b8df8da0015408
MD5 afeff0763f32d072b3d7706884ac23e0
BLAKE2b-256 62cee4c8c16c9a74c7c427bae44b8d294d5b9f66a792738c63266c4ac7669693

See more details on using hashes here.

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