Skip to main content

ANSIplot

Compatibility

Example image

A small library for legible console plotting in Python.

Quickstart

Install the library with pip install ansiplot. Create a canvas of given dimensions that scales automatically, and plot on it like so:

import ansiplot

x = [(i - 100) * 0.01 for i in range(200)]
square = [value**2 for value in x]

plot = ansiplot.Scaled(30, 10)
plot.plot(x, x, title="tautology")
plot.plot(x, square, title="square")
plot.show()
Quickstart image

Curve differences remain mostly legible, even for overlapping regions and small canvases. ANSI is used to color the console output, and any numeric iterable -such as numpy arrays- can be given as data.

Read more

Showcase - see several features in action
Documentation - available methods

Metadata

Release files for ansiplot 0.1.3

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

Built distribution (wheel)

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

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

Download URL ansiplot-0.1.3-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20455c767e471f1d676a96db97a0f211db548ad3fff096fb2872c8b8ac4db7a2
BLAKE2b-256 checksum
How to use checksums
7e4ae8778b3636d076c395fb9076c65881357728d49699e3d6e97c63a482c632
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Security for ansiplot 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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