A simple and reproducible way of using fonts in matplotlib
Project description
pyfonts
A simple and reproducible way of using fonts in matplotlib.
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
)
Installation
pip install pyfonts
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
083d6c8ad4e64d1f6275a34740c91e4d90146eabb43bf897f7bd5982d8a41da2
|
|
MD5 |
00565b73b864c328ae7ba4453005a3aa
|
|
BLAKE2b-256 |
583f7e2f73de3b9033a4be57b0a7cd2ca8a5356a80954e0eedbc2c2de76fbcd6
|
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
87c10abfbb2ef46e1290a418150b121a0b8a12d123bbbc4cf6053b14dfa1a86a
|
|
MD5 |
cee65aba23d67a4bfe100a692d597e2d
|
|
BLAKE2b-256 |
483293e2e6df5262143af50ae3c7c1720d1414e6f90b87ac752a3079c83081e9
|