dppd_plotnine
| Build status: | |
|---|---|
| Documentation | https://dppd_plotnine.readthedocs.io/en/latest/ |
dppd_plotnine combines the power of plotnine and dppd
It allows you to use code like this
import numpy as np
from dppd import dppd
import dppd_plotnine
from plotnine.data import mtcars
import plotnine as p9
dp, X = dppd()
plot = (
dp(mtcars)
.assign(kwh=X.hp * 0.74)
.categorize("cyl")
.p9()
.add_point(
"cyl",
"kwh",
color="cyl",
position=p9.position_jitter(height=0, random_state=500),
)
.add_errorbar(
x="cyl",
y="kwh_median",
ymin="kwh_median",
ymax="kwh_median",
data=dp(X.data)
.groupby("cyl")
.summarize(("kwh", np.median, "kwh_median"))
.pd,
)
.scale_color_manual(
["red", "blue", "purple"]
) # after pd, X is what it was before
.pd
)
plot.save("test.png")
Please see our full documentation at https://dppd_plotnine.readthedocs.io/en/latest/ for more details of the straight and enhanced plotnine mappings available.
Release files for dppd-plotnine 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dppd_plotnine-0.2.9.tar.gz | 13.5 kB | Details |
Release files / dppd_plotnine-0.2.9.tar.gz
| Download URL | dppd_plotnine-0.2.9.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
528fde073c4b7cb7b82affe864ac028709c12d933b558ff518613366a985794d
|
|
BLAKE2b-256 checksum How to use checksums |
d09836f2ad0067a722b68ebff2f02fcee8fce51006b0992fc0f61001511a49c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 26, 2025.
Transparency log