Sympy Plotting Backends
This module contains a few plotting backends that can be used with SymPy as an alternative to the default Matplotlib backend. A backend represents the plotting library: it provides the necessary functionalities to quickly and easily plot the most common types of symbolic expressions (line plots, surface plots, parametric plots).
The following plotting libraries are supported: Matplolib, Plotly, Bokeh, K3D-Jupyter.
What's new in comparison to SymPy
On top of the usual plotting functions exposed by SymPy (plot,
plot_parametric, plot3d, etc.), this module offers the capabily to:
- use a different backend.
- visualize discontinuities on 2D line plots.
plot_piecewiseto visualize 2D line plots of piecewise functions with their discontinuities.plot_vectorto quickly visualize 2D/3D vector fields with quivers or streamlines.plot_real_imag,plot_complex,plot_complex_list,plot_complex_vectorto visualize complex functions.plot_polarfunction.plot_geometryto quickly visualize entities from thesympy.geometrymodule.iplotfunction to create parametric-interactive plots using widgets (sliders, buttons, etc.).plotgridfunction, which replaces thePlotGridclass: it allows to combine multiple plots into a grid-like layout. It works with Matplotlib, Bokeh and Plotly.
Please, read the
following documentation page
to understand the differences between this module and sympy.plotting.
If you feel like some feature could be implemented, open an issue or create a PR.
Explore the Capabilities
To explore the capabilities before the installation, you can:
- Read the documentation,
download this repository and follow the tutorials inside the
tutorialsfolder. - Click the following button to run the tutorials with Binder (note that
Binder is slow to load the module and execute the commands).
Installation
The repository is avaliable on PyPi:
pip install sympy_plot_backends
And also on Conda:
conda install -c davide_sd sympy_plot_backends
Warnings
Some backend comes with a memory cost. Since they require external libraries and/or open a server-process in order to visualize the data, memory usage can quickly rise if we are showing many plots. Keep an eye on you system monitor and act accordingly (close the kernels, restart the browser, etc.).
Metadata
Release files for sympy-plot-backends 1.0.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 |
|---|---|---|---|---|
| sympy_plot_backends-1.0.1.tar.gz | 106.7 kB | Without provenance | Details for sympy_plot_backends-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sympy_plot_backends-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for sympy_plot_backends-1.0.1-py3-none-any.whl |
Total release size: 223.5 kB
Release files / sympy_plot_backends-1.0.1.tar.gz
| Download URL | sympy_plot_backends-1.0.1.tar.gz |
|---|---|
| Size | 106.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a85c783c4c572e9f0d3042a5f94917b468d63030993a409697fbab1e3357fc7d
|
|
BLAKE2b-256 checksum How to use checksums |
0d7a5b62c3173eb5bf191191f49dbd6a10cac04ce7025ee56edaff264c985b8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
|
Release files / sympy_plot_backends-1.0.1-py3-none-any.whl
| Download URL | sympy_plot_backends-1.0.1-py3-none-any.whl |
|---|---|
| Size | 116.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8644c825f2808dfcceea974f2ccba293b4bbb22b66d9f83609244fe017688f40
|
|
BLAKE2b-256 checksum How to use checksums |
c9fee216f7c7acc7bbaa545406fc63aa3b5326a1aa5664199fdbb9f88c902ddd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
|
Security for sympy-plot-backends 1.0.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.