signchart
signchart is a Python package for plotting sign charts for polynomial functions. It is designed to be simple to use to generate beautiful sign charts for polynomial functions.
Basic examples
Example 1
import signchart
f = "(x**2 + 1)**2 * (x - 1)**2 * (x + 1)"
signchart.plot(f=f, include_factors=True)
signchart.savefig(
dirname="dirname",
fname="fname",
)
signchart.show()
This will generate the following sign chart:
Example 2
import signchart
f = "x**2 - x - 6"
signchart.plot(
f=f,
include_factors=True,
color=True, # Includes colored lines.
fn_name="g(x)", # Names the function g(x)
)
signchart.savefig(
dirname="figures",
fname="example_2.svg",
)
signchart.show()
This will generate the following sign chart:
Example 3
import signchart
f = "-2 * x**2 + 2 * x + 12"
signchart.plot(
f=f,
include_factors=True,
color=True, # Includes colored lines.
fn_name="h(x)", # Names the function h(x)
)
signchart.savefig(
dirname="figures",
fname="example_3.svg",
)
signchart.show()
This will generate the following sign chart:
Example 4
import signchart
f = "-3 * (t - 1) * (t + 3)" # Uses 't' as variable in place of 'x'
signchart.plot(
f=f,
include_factors=False, # excludes linear factors in the polynomial
color=False, # sign lines are black (uncolored)
fn_name="x(t)", # Names the function x(t)
)
signchart.savefig(
dirname="figures",
fname="example_4.svg",
)
signchart.show()
This will generate the following sign chart:
Metadata
Release files for signchart 0.2.2
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 |
|---|---|---|---|---|
| signchart-0.2.2.tar.gz | 11.5 kB | Without provenance | Details for signchart-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| signchart-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for signchart-0.2.2-py3-none-any.whl |
Total release size: 22.4 kB
Release files / signchart-0.2.2.tar.gz
| Download URL | signchart-0.2.2.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0f9e380a4418f0a7bba812fef010cb8499136694fe21e020a0405c749b50522
|
|
BLAKE2b-256 checksum How to use checksums |
2b3567899e6034eb4e446e3947427324eba1e4899bf68a82ea045fddebafb50e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / signchart-0.2.2-py3-none-any.whl
| Download URL | signchart-0.2.2-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd2b44f0ede1f7179e87fcd19139aeecd47659c3d2f645c572c5985e5d160eaf
|
|
BLAKE2b-256 checksum How to use checksums |
0de13e073f80742fae86632e9ebf798f1621166e492c0d02bb026d9917953d49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for signchart 0.2.2
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.