
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
signchartsignchart 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.
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:
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:
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:
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:
FAQs
Automatically generates sign charts for polynomial functions and rational functions.
We found that signchart demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.