Formatting paragraphs for matplotlib text
Project description
parampl
Write formatted paragraphs in matplotlib
from parampl import ParaMPL
from lorem_text import lorem
f, ax = plt.subplots()
parampl = ParaMPL(ax, spacing=0.3, fontsize=9)
parampl.write(lorem.paragraph(), (0.05, 0.95),
avoid_left_of =[(0.2, (0.3, 0.5)),
(0.3, (0.4, 0.7))],
avoid_right_of = (0.8, (0.3, 0.7),
width=0.7, justify='full',
)
(Full example code in quickstart.py)
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
parampl-0.3.7.tar.gz
(9.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parampl-0.3.7.tar.gz.
File metadata
- Download URL: parampl-0.3.7.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db432dd990c3235b51cbdf9c2acedddcff15e462f697199efe393e29f1ccb294
|
|
| MD5 |
192708db443de1637e5311ec9bfb748d
|
|
| BLAKE2b-256 |
c646ac5bd0a1074614e5d08a8144b0c0d7a161462d017dc376c478eac205a102
|
File details
Details for the file parampl-0.3.7-py3-none-any.whl.
File metadata
- Download URL: parampl-0.3.7-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a81ed8c948f2da30e8ccb2c9e3c148498994731719314b629eb0aa006170f465
|
|
| MD5 |
dc3b9d680c1397deaf1f1eb5cf468569
|
|
| BLAKE2b-256 |
f73278283a348de88a5622bf71c8490de50731a3517dcd8f9b499b12774ef045
|