Skip to main content

azurea

Matplotlib themes by azuka — dark & light plotting styles with a bundled Poppins font and a hand-picked color palette.

PyPI Python License: MIT

Install

From PyPI:

pip install azurea

Upgrade:

pip install --upgrade azurea

Or from GitHub:

pip install git+https://github.com/azkarohbiya/azurea.git

Quick start

import azurea
import matplotlib.pyplot as plt
import numpy as np

azurea.use("react_dark")   # or "react_light"

x = np.linspace(0, 4 * np.pi, 200)
plt.plot(x, np.sin(x), label="sin(x)")
plt.plot(x, np.cos(x), label="cos(x)")
plt.legend()
plt.show()

You can also apply the style the standard matplotlib way:

import azurea  # registers styles + fonts
import matplotlib.pyplot as plt

plt.style.use("azurea.react_dark")   # or "azurea.react_light"

Available styles

azurea.available()
# ['azurea.react_dark', 'azurea.react_light']
Name Background Use case
azurea.react_dark #282c34 dark-mode dashboards, notebooks
azurea.react_light #FFFFFF reports, print, docs

Both share the Poppins typeface (bundled — no manual font install needed) and a React-inspired palette led by #0472f7 blue, #06b45e green, #fc3d51 red.

Samples

Dark mode — azurea.react_dark

dark sample

Light mode — azurea.react_light

light sample

Custom color palette

azurea.custom_colors is a curated list of 23 hex colors you can use directly:

import azurea
import matplotlib.pyplot as plt

azurea.use("react_light")
plt.bar(["A", "B", "C", "D", "E"], [30, 55, 42, 78, 60],
        color=azurea.custom_colors[:5])
plt.show()

Test notebook

See test_azurea.ipynb for a full demo covering line, bar, scatter, and histogram plots in both modes, plus the color palette.

License

MIT © azuka

Metadata

Release files for azurea 0.2.2

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

Source distribution (sdist)

Source distribution for azurea 0.2.2
File Size Uploaded Provenance
azurea-0.2.2.tar.gz 146.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 292.3 kB

Release files / azurea-0.2.2.tar.gz

Download URL azurea-0.2.2.tar.gz
Size 146.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9a412e9f1c317389ce8d074b3fdd2b1612063f7f6320776fae740ed76d2e13e0
BLAKE2b-256 checksum
How to use checksums
ce650d6c88bc8502be335e032da4607bc08f20143bb177d50bc5a600c00062c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / azurea-0.2.2-py3-none-any.whl

Download URL azurea-0.2.2-py3-none-any.whl
Size 145.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
414f006e2f1fee6ae9e668a7c9e98b915e2eca6d2ed8ac53783847d9ddb5f35a
BLAKE2b-256 checksum
How to use checksums
26117734f6b8a51c6b3582297abee57f99f18cf587b19dea5fb23d8af75221bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for azurea 0.2.2

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.

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