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.2.0.tar.gz
(19.2 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
parampl-0.2.0-py3-none-any.whl
(19.9 kB
view details)
File details
Details for the file parampl-0.2.0.tar.gz.
File metadata
- Download URL: parampl-0.2.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.13 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de44da329471a9e9424d6ba907b79cb621ce0f3dd5fb696c562f042b3f33ac3d
|
|
| MD5 |
b615a401f12c0c7dfb75f141fee2214c
|
|
| BLAKE2b-256 |
6333b97ec7f9b8ed107f9a90804c32cea40d40f9ef2583dcaf3ecb059a392bc5
|
File details
Details for the file parampl-0.2.0-py3-none-any.whl.
File metadata
- Download URL: parampl-0.2.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.13 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9b75abb659f22073e3b4c6405ba74666a7d9e29ba301e3550178e73f1e4736a
|
|
| MD5 |
5f92b2a93fe5b15d19a895fb610dc096
|
|
| BLAKE2b-256 |
ad9c9b3b519c5b803dcbe174e54be2f9c1d7151634579ee3f7dea52172b90e3a
|