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” Authors: Camille Montalcini, Peter Rousseeuw
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bixplot-0.1.2.tar.gz.
File metadata
- Download URL: bixplot-0.1.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4dadcb6cc9a9c726c87669e8387346405ba7485041a2dc5cf787da574f4a8c8
|
|
| MD5 |
2f062847d8b09cb64e0bc1d1c7b6e9cd
|
|
| BLAKE2b-256 |
4ebfabfef0630debd409b6fdbdee5c84b11f6d51065fb970920b4962ead884f0
|
File details
Details for the file bixplot-0.1.2-py3-none-any.whl.
File metadata
- Download URL: bixplot-0.1.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ca3991166df2b93e806052100ab49cd547fa515595756b72c9b15f3efa02351
|
|
| MD5 |
3feb6b175c7465a25d670f7335c04b27
|
|
| BLAKE2b-256 |
46c531e6ac6d1fb92fb898f3fc26efaab6f98e9c857ee809d3acec1f6c793618
|