Sympy-plot-backends

Latest version: v3.4.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 9

1.2.0

What's Changed

* Replaced the ``line_kw``, ``surface_kw``, ``image_kw``, ``fill_kw`` keyword arguments with ``rendering_kw``. This simplifies the usage between different plotting functions.

* Plot functions now accepts a new argument: ``rendering_kw``, a dictionary of options that will be passed directly to the backend to customize the appearance. In particular:

* Possibility to plot and customize multiple expressions with a single function call. For example, for line plots:


plot(
(expr1, range1 [opt], label1 [opt], rendering_kw1 [opt]),
(expr2, range2 [opt], label2 [opt], rendering_kw2 [opt]),
**kwargs
)


* Possibility to achieve the same result using the ``label`` and ``rendering_kw`` keyword arguments by providing lists of elements (one element for each expression). For example, for line plots:


plot(expr1, expr2, range [opt],
label=["label1", "label2"],
rendering_kw=[dict(...), dict(...)],
**kwargs
)


* Interactive submodule:

* Fixed bug with ``spb.interactive.create_widgets``.

* Integration of the interactive-widget plot ``iplot`` into the most important plotting functions. To activate the interactive-widget plot users need to provide the ``params`` dictionary to the plotting function. For example, to create a line interactive-widget plot:


plot(cos(u * x), (x, -5, 5), params={u: (1, 0, 2)})


* Series:

* Fixed a bug with line series when plotting complex-related function with ``adaptive=False``.

* Fixed bug with ``lambdify`` and ``modules="sympy"``.

* Fixed bug with the number of discretization points of vector series.

* Enabled support for Python's built-in ``sum()`` function, which can now be used to combine multiple plots.

* Backends:

* Fixed a bug with ``MatplotlibBackend`` and string-valued color maps.

* Fixed a bug with ``BokehBackend`` about the update of quivers color when using ``iplot``.

* Updated tutorials and documentation.

1.1.7

What's Changed

* Fixed bug with ``plot_complex_list``.
* Added new tutorial about singularity-dections.

1.1.6

What's Changed

* Fixed bug with ``label`` keyword argument.
* Added an error message to ``plot3d`` to improve its usability.
* Updated documentation.

1.1.5

What's Changed

* Implemented ``line_color`` and ``surface_color``: this plotting module should now be back-compatible with the current ``sympy.plotting``.

1.1.4

What's Changed

* ``color_func`` is back-compatible with ``sympy.plotting``'s
``line_color`` and ``surface_color``.

1.1.3

What's Changed

* Added ``color_func`` support to parametric line series.
* Improved docstring.

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.