Skip to main content

Framework-agnostic plotting utilities for biological and clinical data visualization

Project description

bioviz-kit

Framework-agnostic visualization library for publication-ready clinical and biological data plots.

License: MIT Python 3.11+

Features

  • Publication-ready styling – Clean, professional visualizations out of the box
  • Framework-agnostic – Works with any data pipeline or analysis framework
  • Customizable configurations – Extensive theming and layout options
  • Clinical & bioinformatics focused – Specialized plot types for common analyses

Installation

bioviz-kit

Framework-agnostic visualization library for publication-ready clinical and biological data plots.

License: MIT Python 3.11+

Features

  • Publication-ready styling – Clean, professional visualizations out of the box
  • Framework-agnostic – Works with any data pipeline or analysis framework
  • Customizable configurations – Extensive theming and layout options
  • Clinical & bioinformatics focused – Specialized plot types for common analyses

Installation

Install from PyPI:

pip install bioviz-kit

Or install in development mode:

pip install -e .

Requirements

  • Python 3.11+
  • pandas
  • matplotlib
  • seaborn
  • adjustText

Usage

from bioviz import lineplot, oncoplot

# Generate styled plots with minimal configuration
fig = lineplot.generate_styled_lineplot(df, config)
fig = oncoplot.generate_styled_oncoplot(df, config)

See examples/ for complete usage examples.

Examples

  • Example files live in the examples/ directory. Recommended practices:
    • Keep runnable .py scripts for quick CLI usage and reproducible examples.
    • Provide companion .ipynb notebooks for narrative tutorials and figures. Convert with jupytext or nbconvert if needed:
pip install jupytext
jupytext --to notebook examples/my_example.py -o examples/my_example.ipynb
- Name files with short, descriptive snake_case (optionally numeric prefixes for ordered tutorials, e.g. `01_quickstart.ipynb`).
- Add a short header comment or top-level README in `examples/` describing each example's purpose and required inputs.

Documentation and ReadTheDocs

TBD

Design Philosophy

  • Lightweight DefaultStyle provided; easily extended with custom themes

Licensing

  • bioviz-kit is released under the MIT License © 2025 Victoria Cheung.

Thanks

This package was spun out of internal tooling I wrote at Revolution Medicines. Many thanks to the team there for allowing the code to be open sourced.

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

bioviz_kit-0.3.2.tar.gz (82.2 kB view details)

Uploaded Source

Built Distribution

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

bioviz_kit-0.3.2-py3-none-any.whl (88.0 kB view details)

Uploaded Python 3

File details

Details for the file bioviz_kit-0.3.2.tar.gz.

File metadata

  • Download URL: bioviz_kit-0.3.2.tar.gz
  • Upload date:
  • Size: 82.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for bioviz_kit-0.3.2.tar.gz
Algorithm Hash digest
SHA256 9c40d2577fa01ff28c7056121c1597d152a4232d27d01374642f615aed5e3a4c
MD5 194815c5b040b67a704df2f2b39a1e1b
BLAKE2b-256 0f794c43654797f04754efc72acf0eddf6b6efd72426754a57e15281443dff98

See more details on using hashes here.

File details

Details for the file bioviz_kit-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: bioviz_kit-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 88.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for bioviz_kit-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8c4ef5eaf0e4f3b27f7cead2c1f719eb2173718af0bd77c5c7402bb5f7b1f953
MD5 b8593be7315b6ca4a27696391662a96a
BLAKE2b-256 3c83c2b095f318ce57c7d54e3adfd1fab2875ec1e7e7e816c4468a5ce44276a0

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