<h1 align="center">
mpl-helpers
.. raw:: html
</h2>
.. raw:: html
<p align="center">
A Python 3.6 library for tweaking matplotlib figures
.. raw:: html
</p>
.. raw:: html
<p align="center">
Installation · Tutorial · Contributing
.. raw:: html
</p>
.. raw:: html
<p align="center">
.. raw:: html
</p>
.. raw:: html
<h3 align="center">
Installation
.. raw:: html
</h3>
::
❯ pip install mpl_helpers
Please not this project is under active and early development.
Documentation, tests, and a consistent API will be provided in due time!
.. raw:: html
<h3 align="center">
Tutorial
.. raw:: html
</h3>
.. code:: python
from mpl_helpers import *
**axis_off**: turn off x, y, or all axis in an ``ax``
**darken_rgb**: darken an RGB value by a given percent
**despine**: remove either of the four spines in a cartesian ``ax``
**grouped_bar_positions**: create equi-spaced positions centered around
integers
**is_luminous**: determines if an RGB value is luminous
**lighten_rgb**: lighten an RGB value by a given percent
**maximum_xlim_bounds**: return the maximum xlim bounds by all ``ax``
objects
**maximum_ylim_bounds**: return the minimum xlim bounds by all ``ax``
objects
**ticklabels_to_integer**: use an integer formatter on ticklabels
**ticklabels_to_percent**: use a percent formatter on ticklabels
**ticklabels_to_scientific**: use a scientific notation formatter on
ticklabels
**ticklabels_to_thousands_sep**: use a thousands seperated comma
formatter on ticklabels
**remove_every_other_tick**: remove every other tick
**ticks_off**: turn off x, y, or all axis ticks in an ``ax``
.. raw:: html
<h3 align="center">
Contributing
.. raw:: html
</h3>
Pull requests, feature requests, and issues welcome!
To make a development install:
.. code:: bash
❯ git clone git@github.com:clintval/mpl-helpers.git
❯ pip install -e 'mpl-helpers'
Metadata
Release files for mpl_helpers 0.1.0
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 |
|---|---|---|---|---|
| mpl_helpers-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for mpl_helpers-0.1.0.tar.gz |
Release files / mpl_helpers-0.1.0.tar.gz
| Download URL | mpl_helpers-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7733bc57546b42a65dcb7d0a509dfdd5213b77ca725202954457d2774afc92b
|
|
BLAKE2b-256 checksum How to use checksums |
fb255791564b90cece0ac499cb53d33522f821ca68f7bb96c639daff7b27a623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mpl_helpers 0.1.0
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.