Skip to main content

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',
             )

Sample with 'full' justification and avoid areas (Full example code in quickstart.py)

Metadata

Release files for parampl 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parampl 0.3.7
File Size Uploaded
parampl-0.3.7.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for parampl 0.3.7
File Interpreter ABI Platform
parampl-0.3.7-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / parampl-0.3.7.tar.gz

Download URL parampl-0.3.7.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
db432dd990c3235b51cbdf9c2acedddcff15e462f697199efe393e29f1ccb294
BLAKE2b-256 checksum
How to use checksums
c646ac5bd0a1074614e5d08a8144b0c0d7a161462d017dc376c478eac205a102
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.7

Release files / parampl-0.3.7-py3-none-any.whl

Download URL parampl-0.3.7-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a81ed8c948f2da30e8ccb2c9e3c148498994731719314b629eb0aa006170f465
BLAKE2b-256 checksum
How to use checksums
f73278283a348de88a5622bf71c8490de50731a3517dcd8f9b499b12774ef045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.7

Release history Release notifications | RSS feed

This release

0.3.7 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page