Skip to main content

A simple and reproducible way of using fonts in matplotlib

Project description

pyfonts

Pyfonts logo

A simple and reproducible way of using fonts in matplotlib.

PyPI - Downloads Coverage


Quick start

import matplotlib.pyplot as plt
from pyfonts import load_google_font

font = load_google_font("Fascinate Inline")

fig, ax = plt.subplots()
ax.text(
    x=0.2,
    y=0.5,
    s="Hey there!",
    size=30,
    font=font
)

See more examples


Installation

pip install pyfonts



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfonts-1.1.1.tar.gz (189.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfonts-1.1.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file pyfonts-1.1.1.tar.gz.

File metadata

  • Download URL: pyfonts-1.1.1.tar.gz
  • Upload date:
  • Size: 189.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyfonts-1.1.1.tar.gz
Algorithm Hash digest
SHA256 c0528f334fdca273a977466eeb3e1a4316e1b25e8175189d2c39452094d5ee46
MD5 98b7711d5f9cdcd695a34254a6041581
BLAKE2b-256 d6df753b979449a374258c2ee91cc7cf0bd1172f2685b69b0806eed6d2aece4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfonts-1.1.1.tar.gz:

Publisher: pypi.yaml on JosephBARBIERDARNAL/pyfonts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfonts-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyfonts-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyfonts-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 95775a4e1c362b7bf4a9f871e3a6c59d31e2e96ea89aec8e57497a0fdc6738ca
MD5 77dd701ad6c2e345de27742a359699d2
BLAKE2b-256 20002fde255434004eec687d3ba17ec476f2c064e013cc341e26f48e1c2b0ce2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfonts-1.1.1-py3-none-any.whl:

Publisher: pypi.yaml on JosephBARBIERDARNAL/pyfonts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page