manylabels
Many plots in the heliophysics science community are of satellites showing various physical
observations. To place these observations in context, scientists often include multiple
x-axis labels showing, for example, the satellite location. This is surprisingly hard to implement using matplotlib. Nevertheless, manylabels.ManyLabels() class provides this functionality.
Installation
$ python -m pip install manylabels
Example
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import manylabels
n = 100
x = np.array([pd.Timestamp(2000,1,1,5,0,0) + pd.Timedelta(minutes=i) for i in range(n)])
y = np.random.rand(n)
data = pd.DataFrame(
index=x,
data={
'x':np.linspace(0, 10, num=n),
'y':np.linspace(10, 20, num=n),
'z':np.linspace(-5, 5, num=n)
}
)
fig, ax = plt.subplots()
ax.plot(x, y)
manylabels.ManyLabels(ax, data)
plt.show()
Metadata
Release files for manylabels 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 | |
|---|---|---|---|---|
| manylabels-0.1.0.tar.gz | 4.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| manylabels-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / manylabels-0.1.0.tar.gz
| Download URL | manylabels-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98daa7e9cf9c80aa6455c4e9ae64d695dbcc60440b1733fde763d8c1815471fb
|
|
BLAKE2b-256 checksum How to use checksums |
307603727c2d2cf10875ee0c3c6479d9ba41b550fb905a5a537efb325e15afb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / manylabels-0.1.0-py3-none-any.whl
| Download URL | manylabels-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53f6cfacc73e7d38977c339ea510bad2cd7358449565eea02ab57f8aa61b7bf9
|
|
BLAKE2b-256 checksum How to use checksums |
46d1372a70705e90a4f42f76cfbe0d02bf3c3740b1949038445853fbfffcf16b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for manylabels 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.