Skip to main content

Sympy Plotting Backends

PyPI version Install with conda Documentation Status Coverage Binder Powered by NumFOCUS

This module contains a few plotting backends that can be used with SymPy and Numpy. 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, Mayavi.

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_piecewise to visualize 2D line plots of piecewise functions with their discontinuities.
  • plot_vector to quickly visualize 2D/3D vector fields with quivers or streamlines.
  • plot_real_imag, plot_complex, plot_complex_list, plot_complex_vector to visualize complex functions.
  • plot_polar function.
  • plot_geometry to quickly visualize entities from the sympy.geometry module.
  • iplot function to create parametric-interactive plots using widgets (sliders, buttons, etc.).
  • plotgrid function, which replaces the PlotGrid class: 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:

  1. Read the documentation, download this repository and follow the tutorials inside the tutorials folder.
  2. Click the following button to run the tutorials with Binder (note that Binder is slow to load the module and execute the commands). Binder

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.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sympy-plot-backends 1.4.0
File Size Uploaded
sympy_plot_backends-1.4.0.tar.gz 133.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sympy-plot-backends 1.4.0
File Interpreter ABI Platform
sympy_plot_backends-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 278.1 kB

Release files / sympy_plot_backends-1.4.0.tar.gz

Download URL sympy_plot_backends-1.4.0.tar.gz
Size 133.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fc20048d38ddb7351df5dec57bd62548c205446e58987889a9f0889fea2f6e4b
BLAKE2b-256 checksum
How to use checksums
395457cd179ef178507f9699d250cb867e376dac918f2d78ee97fc2ec5839ff5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / sympy_plot_backends-1.4.0-py3-none-any.whl

Download URL sympy_plot_backends-1.4.0-py3-none-any.whl
Size 144.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66d175dbb14d29c6a27c09cda24085f47cc36677ff82ae4a938978693fcdf618
BLAKE2b-256 checksum
How to use checksums
a1f3ddb5eb29ad62f67a083b0b658e971e8a0d1cf34ecae6a2ee3e4a1d272f9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

4.2.0

2 release files

4.1.2

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.4.5

2 release files

3.4.4

2 release files

3.4.3

2 release files

3.4.2

2 release files

3.4.1

2 release files

3.4.0

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.6.7

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

This release

1.4.0 This release

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.14.0

2 release files

0.13.2

2 release files

0.13.1

2 release files

0.12.9

2 release files

0.12.8

2 release files

0.12.7

2 release files

0.12.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page