Skip to main content

Kaxe

BoxPlot

Kaxe is a lightweight, pure-Python plotting library for publication-quality figures in LaTeX documents. Create plots and charts with a simple object-oriented API, style them for A4 pages, and export to PNG or SVG.

Documentation: kaxe.readthedocs.io

Installation

pip install kaxe          # 2D plotting (default)
pip install kaxe[3d]        # add 3D plotting (OpenGL)
pip install kaxe[pdf]       # add PDF export
pip install kaxe[3d,pdf]    # 3D + PDF

Quick example

import kaxe

plt = kaxe.Plot([-5, 5, -5, 5])
plt.add(kaxe.Function2D(lambda x: x**2 - 4))
plt.add(kaxe.Points2D([1, 2, 3], [1, 4, 9]))
plt.theme(kaxe.Themes.A4Medium)
plt.title("$x^2 - 4$")
plt.save("figure.png")
plt.save("figure.svg")

See the getting started guide, recipes, styling guide, and export guide for the full API.

Goals

Kaxe was made to create simple, aesthetic graphs for articles, reports, and other academic work in LaTeX:

  • Plots that fit the look of LaTeX documents (Computer Modern math via fondi)
  • A straightforward object-oriented interface: create a window, add objects, style, save

Examples of plots

BoxPlot Polar plot PrettyPlot3D2 Contour grid Contour same AllLegends Functions Points Equations Globallight

Metadata

Release files for kaxe 1.8.1

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

Source distribution (sdist)

Source distribution for kaxe 1.8.1
File Size Uploaded Provenance
kaxe-1.8.1.tar.gz 4.0 MB Without provenance Details

Built distribution (wheel)

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

Total release size: 8.0 MB

Release files / kaxe-1.8.1.tar.gz

Download URL kaxe-1.8.1.tar.gz
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
3048ffb058a4dcc6d14b69606c8bf998b3bbb2b7a21d3f5ec7a5a1f5f07a03e8
BLAKE2b-256 checksum
How to use checksums
8193e6f4063762f10adf461de317ea3dd12d837e5ad913570ab6548427203e08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / kaxe-1.8.1-py3-none-any.whl

Download URL kaxe-1.8.1-py3-none-any.whl
Size 4.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
12ed3f4250df313a52174c9779eab801b4a23787afb144ea022d3387908810d4
BLAKE2b-256 checksum
How to use checksums
06514a1dd06eb49a1355103d72c0c34dbf5a1cef80311735d21fdab12a393f98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for kaxe 1.8.1

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.

Release history Release notifications | RSS feed

This release

1.8.1 This release

2 release files No provenance

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