Skip to main content

Contributor Covenant PyPI badge Anaconda-Server Badge License: BSD 3-Clause Binder

Mpltoolbox

About

Mpltoolbox aims to provide some basic tools (that other libraries such as bokeh or plotly support) for drawing points, lines, rectangles, polygons on Matplotlib figures.

There are many interactive examples in the Matplotlib documentation pages, but the code snippets are often long and potentially not straightforward to maintain.

With mpltoolbox, activating these tools should (hopefully) just be a one-liner.

Installation

python -m pip install mpltoolbox

Examples

import matplotlib.pyplot as plt
import mpltoolbox as tbx
%matplotlib widget

Points

fig, ax = plt.subplots()
ax.set_xlim(0, 100)
ax.set_ylim(0, 100)

points = tbx.Points(ax=ax)

points

Lines

fig, ax = plt.subplots()
ax.set_xlim(0, 100)
ax.set_ylim(0, 100)

lines = tbx.Lines(ax=ax, n=2)

lines

Rectangles

fig, ax = plt.subplots()
ax.set_xlim(0, 100)
ax.set_ylim(0, 100)

rectangles = tbx.Rectangles(ax=ax)

rects

Ellipses

fig, ax = plt.subplots()
ax.set_xlim(0, 100)
ax.set_ylim(0, 100)

ellipses = tbx.Ellipses(ax=ax)

ellipses

Metadata

Release files for mpltoolbox 26.2.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 mpltoolbox 26.2.0
File Size Uploaded
mpltoolbox-26.2.0.tar.gz 317.7 kB Details

Built distribution (wheel)

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

Total release size: 338.6 kB

Release files / mpltoolbox-26.2.0.tar.gz

Download URL mpltoolbox-26.2.0.tar.gz
Size 317.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b8a600b35f1efe67a9ae4004cf75e15a33a2c281b12dbb55d155191f834aac1f
BLAKE2b-256 checksum
How to use checksums
517066304fa8bb9df07e1c5083f9ec96bfb56160fa7f420a4660b548575f1cc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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 Feb 17, 2026.

Transparency log

Release files / mpltoolbox-26.2.0-py3-none-any.whl

Download URL mpltoolbox-26.2.0-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd2668db4216fc4d7c2ba37974961aa61445f1517527b645b6082930e35ba7f0
BLAKE2b-256 checksum
How to use checksums
12aafb2a0649fdeef5ab7072d221e8f4df164098792c813af6c87e2581cfa860
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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 Feb 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

26.2.0 This release

2 release files

25.5.0

2 release files

25.4.0

2 release files

24.5.1

2 release files

24.4.0

2 release files

23.9.0

2 release files

23.7.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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