Skip to main content

The bixplot: A variation on the boxplot suited for bimodal data

Project description

bixplot

bixplot is a variation of the classical boxplot designed to detect and display bimodality and multimodality in univariate data. It combines density visualization (like violin plots), summary statistics (like boxplot), and individual observations (like rug plot).


Background

The method is based on the research paper:

“The bixplot: A variation on the boxplot suited for bimodal data”

The classical boxplot assumes unimodality and may fail to reveal meaningful subgroups in the data.
The bixplot addresses this by:

  • testing for unimodality
  • if unimodality is rejected, it applies a univariate clustering method that ensures contiguous clusters, meaning that no cluster has members inside another cluster, and such that each cluster contains at least a given number of unique members.
  • visualizing clusters as separate components

Installation

pip install bixplot


Examples

Examples are available in the examples/ folder.


Data

The data/ folder contains datasets used for demonstrations.

See data/README.md for full attribution and sources.


License

MIT http://opensource.org/licenses/MIT

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

bixplot-0.1.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

bixplot-0.1.1-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file bixplot-0.1.1.tar.gz.

File metadata

  • Download URL: bixplot-0.1.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for bixplot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bd4c525b88fcf16d87dca6c38c7660af41e9c36bc4211d9ffb07910b25d45e1a
MD5 d7d792d5a01f0e26227ac7d2ec5fa830
BLAKE2b-256 778e53e24889b62f2f8f07fe3574386ba52b3219a9b915a13355ea9bf745f448

See more details on using hashes here.

File details

Details for the file bixplot-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bixplot-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for bixplot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 021e041f8e9b9b559a96b5f47da41a12880098c5df9c7223cc5fea7ff3975c8b
MD5 09c156205633538f72465f8e54d02d77
BLAKE2b-256 502a503694149f8fc11a6f1b9484baec4b24fba4c53ac3449850574932932fc7

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