plottify
The plottify package is makes matplotlib plots more legible. It's a thin wrapper around matplotlib that automatically adjusts font sizes, scatter point sizes, line widths, etc. according to the figure size.
Installation
pip install plottify
Usage
The plottify interface is extremely simple and relies on one central function, autosize(). After you've created a plot, simply call autosize() and the sizes will be adjusted:
from plottify import autosize
import matplotlib.pyplot as plt
plt.scatter(x, y)
autosize()
plt.show()
If you have a matplotlib figure object, you can pass it as an argument to autosize:
autosize(fig)
Demonstration
By default, matplotlib sets the sizes of these objects to pre-specified values, regardless of the figure size. This can result in tiny fonts or sizes for larger figures.
Plottify's autosize function adjusts these sizes automatically to make them more legible. When we change the figure size, plottify automatically adjusts the objects' sizes.
Bugs and feature requests
Please report any bugs or feature requests as a GitHub issue.
Metadata
Release files for plottify 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plottify-1.1.tar.gz | 3.6 kB | Without provenance | Details for plottify-1.1.tar.gz |
Release files / plottify-1.1.tar.gz
| Download URL | plottify-1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cdfca749bfbbe4876a626a654f9ef63b20cc17b22e916b00a373aea03d4b8e6
|
|
BLAKE2b-256 checksum How to use checksums |
2af6a53f1f875c928180b73a6a491b0c661241e15a678661ab505e915c13ec77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Security for plottify 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.