Skip to content

Sympy Plot Backends v1.3.0

Compare
Choose a tag to compare
@Davide-sd Davide-sd released this 03 Aug 09:33
· 618 commits to master since this release

What's Changed

  • Added support for plotting numerical vectorized functions. Many of the plotting functions exposed by this module are now able to deal with both symbolic expressions as well as numerical functions. This extends the scope of this module, as it is possible to use it directly with numpy and lambda functions. For example, the following is now supported:

     import numpy as np
     plot(lambda t: np.cos(x) * np.exp(-x / 5), ("t", 0, 10))
    
  • Added support for vector from the sympy.physics.mechanics module in the plot_vector function.

  • Implemented keyword argument validator: if a user writes a misspelled keyword arguments, a warning message will be raised showing one possible alternative.