splineplot
A tiny Python package for plotting splines
splineplot is a tiny Python package that uses statsmodels to fit
a spline to 1-dimensional data and plot it, along with a scatter plot.
It can be used on its own, or in conjunction with Seaborn; its interface
is similar to that of regplot.
import seaborn as sns
iris = sns.load_dataset("iris")
g = sns.FacetGrid(
iris,
hue="species",
aspect=1.3,
height=4,
)
g.map(
splineplot,
"sepal_length",
"sepal_width",
alpha=0,
scatter_kws={"s": 3},
)
_ = g.add_legend()
A Note On alpha
The alpha argument to splineplot determines the smoothing penalty
used when the spline is fit to the y data. It's important to consider
overfitting when setting this value; in general a value of 0 with
modest dataset sizes is almost guaranteed to overfit.
Metadata
Release files for splineplot 0.3.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 |
|---|---|---|---|---|
| splineplot-0.3.1.tar.gz | 6.0 kB | Without provenance | Details for splineplot-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| splineplot-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for splineplot-0.3.1-py3-none-any.whl |
Total release size: 12.5 kB
Release files / splineplot-0.3.1.tar.gz
| Download URL | splineplot-0.3.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
053aa5087843dd507b06d9a86c1228818adc436e1f4ac52cee5a216065476157
|
|
BLAKE2b-256 checksum How to use checksums |
d426a4fe15c034bbf1e923737df7fef55aeb464812a28364e96a1bf72d768b64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.12 Darwin/22.5.0
|
Release files / splineplot-0.3.1-py3-none-any.whl
| Download URL | splineplot-0.3.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a405fb453120218bdbaec9a7dfc1ca9a26835aca62edfdd86c69121667f01d1
|
|
BLAKE2b-256 checksum How to use checksums |
f3653b483c0aa0434ea27d302d4165562095d72eb63dff2ac842185a8c11a0d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.12 Darwin/22.5.0
|
Security for splineplot 0.3.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.