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


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.0.0.tar.gz (182.8 kB view details)

Uploaded Source

Built Distribution

pyfonts-1.0.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfonts-1.0.0.tar.gz
  • Upload date:
  • Size: 182.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for pyfonts-1.0.0.tar.gz
Algorithm Hash digest
SHA256 083d6c8ad4e64d1f6275a34740c91e4d90146eabb43bf897f7bd5982d8a41da2
MD5 00565b73b864c328ae7ba4453005a3aa
BLAKE2b-256 583f7e2f73de3b9033a4be57b0a7cd2ca8a5356a80954e0eedbc2c2de76fbcd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfonts-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for pyfonts-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87c10abfbb2ef46e1290a418150b121a0b8a12d123bbbc4cf6053b14dfa1a86a
MD5 cee65aba23d67a4bfe100a692d597e2d
BLAKE2b-256 483293e2e6df5262143af50ae3c7c1720d1414e6f90b87ac752a3079c83081e9

See more details on using hashes here.

Supported by

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