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” 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

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.3.tar.gz (21.0 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.3-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bixplot-0.1.3.tar.gz
  • Upload date:
  • Size: 21.0 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.3.tar.gz
Algorithm Hash digest
SHA256 b1f9a55e38b35926a81c4cf495a1811589d63b6f2257be98c15521116cab2e94
MD5 2d4cf6364c0ddbe11306ab1f52ba8a03
BLAKE2b-256 4f63dd4cf1c995b4edbacfec6f31ebbd47d13da9103cc62a1956f80190e99eb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bixplot-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 21.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ff5e86c5dec444f0db547c856882e3da3e2fef591086b2e20351b47da0c627a5
MD5 ec6b3732f3ccfaf2828c5cffcb8f5920
BLAKE2b-256 163720e26b03f6137bd67801c758ef5cec923f21283c3b1ff65b6a5ca6bf5b0b

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