Metadata-Version: 2.1
Name: parampl
Version: 0.2.3
Summary: Formatting paragraphs for matplotlib text
Home-page: https://github.com/duckrojo/parampl
Author: duckrojo
Author-email: 3063609+duckrojo@users.noreply.github.com
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Provides-Extra: docs
Requires-Dist: matplotlib (>=3.9.0,<4.0.0)
Requires-Dist: numpy (>=1.26.4,<2.0.0)
Requires-Dist: sphinx (>=7.3.7,<8.0.0) ; extra == "docs"
Requires-Dist: sphinx-rtd-theme (>=2.0.0,<3.0.0) ; extra == "docs"
Project-URL: Documentation, https://parampl.readthedocs.io/en/latest/
Project-URL: Repository, https://github.com/duckrojo/parampl
Description-Content-Type: text/markdown

# 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](https://github.com/duckrojo/parampl/blob/master/sample_full.png?raw=true)
(Full example code in quickstart.py)
