Skip to main content

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

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

Metadata

Release files for bixplot 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bixplot 0.1.3
File Size Uploaded
bixplot-0.1.3.tar.gz 21.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bixplot 0.1.3
File Interpreter ABI Platform
bixplot-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 42.4 kB

Release files / bixplot-0.1.3.tar.gz

Download URL bixplot-0.1.3.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b1f9a55e38b35926a81c4cf495a1811589d63b6f2257be98c15521116cab2e94
BLAKE2b-256 checksum
How to use checksums
4f63dd4cf1c995b4edbacfec6f31ebbd47d13da9103cc62a1956f80190e99eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / bixplot-0.1.3-py3-none-any.whl

Download URL bixplot-0.1.3-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff5e86c5dec444f0db547c856882e3da3e2fef591086b2e20351b47da0c627a5
BLAKE2b-256 checksum
How to use checksums
163720e26b03f6137bd67801c758ef5cec923f21283c3b1ff65b6a5ca6bf5b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page