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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pliffy-0.1.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pliffy-0.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for pliffy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b94518bdc19a684f57af34a532d82ac1352af6078de9621e5ec37473d584ca0
MD5 f16fde84d4aa7029cdf599319b1fb1db
BLAKE2b-256 2ebd88c7ce7acb83c79897d8e0953215095b06d5fba2cdc0626ec1cb58100465

See more details on using hashes here.

File details

Details for the file pliffy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pliffy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for pliffy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b96ebdb47333f61006ca8a07c59f83ae017852e76004d7ae63ed7b38fa067a3
MD5 2c9b65f9fb12be96f3211c8860a56325
BLAKE2b-256 51738c4e3ad3c2a9eace6386397234cd738c4c77b5bc5620921f91c9484c43c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page