Skip to main content

bumplot: easily create and customize bump charts in Python

bumplot logo

bumplot is a small Python package made to facilitate the creation of bump charts using matplotlib and Bézier curves. It has high customization capabilities too!

Bump charts are useful when the focus is on comparing relative rankings—who is ahead of whom—rather than the exact magnitude of the differences.

Check out the online documentation



Get started

import matplotlib.pyplot as plt
import pandas as pd

from bumplot import bumplot

data = pd.DataFrame(
    {
        "x": [2020, 2021, 2022, 2023],
        "A": [10, 50, 20, 80],
        "B": [40, 30, 60, 10],
        "C": [90, 20, 70, 40],
    }
)

fig, ax = plt.subplots(figsize=(8, 4))
bumplot(
    x="x",
    y_columns=["A", "B", "C"],
    data=data,
    curve_force=0.5,
    plot_kwargs={"lw": 4},
    scatter_kwargs={"s": 150, "ec": "black", "lw": 2},
    colors=["#ffbe0b", "#ff006e", "#3a86ff"],
)
ax.legend()
ax.spines[["top", "right", "left", "bottom"]].set_visible(False)
ax.grid(alpha=0.4)

A simple bump chart made with Python and bumplot

See more examples



Installation

pip install bumplot



Features

  • Automatic ranking of your data (with support for both pandas and polars)
  • Accept categorical data for x-axis
  • Infinite customization capabilities
  • Easy control of the curvature intensity

Metadata

Release files for bumplot 0.3.0

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

Source distribution (sdist)

Source distribution for bumplot 0.3.0
File Size Uploaded Provenance Actions
bumplot-0.3.0.tar.gz 99.9 kB With provenance Details for bumplot-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 108.2 kB

Release files / bumplot-0.3.0.tar.gz

Download URL bumplot-0.3.0.tar.gz
Size 99.9 kB
Tags Source
SHA-256 checksum
How to use checksums
123093e726ace6e51e2533bd542aff9918d84d9da53a23454ad74cd2eb90d78f
BLAKE2b-256 checksum
How to use checksums
4a8a0944a475b5b9f09a9a03b4bab9cccac24585b96bf224ac909cd12b3bc712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / bumplot-0.3.0-py3-none-any.whl

Download URL bumplot-0.3.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b80866114ba19bbac69c58ba617281bd1dfa45c4d36a66b04caece22861fa669
BLAKE2b-256 checksum
How to use checksums
d52a832ac0b823258401f7487fbb1e7b432b3e32b861975f998de7a17850aff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Security for bumplot 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bumplot-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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