sigma-py / orthopy

:triangular_ruler: Orthogonal polynomials in all shapes and sizes.
181 stars 18 forks source link

show depends on matplotx #116

Closed GitHimanshuc closed 2 years ago

GitHimanshuc commented 2 years ago
import orthopy

orthopy.c1.jacobi.show(5, "normal", 0.0, 0.0)

gives, ModuleNotFoundError: No module named 'matplotx'

matplotx is not installed by default when installing orthopy.

nschloe commented 2 years ago

It's an optional dependency. You can install orthopy with

pip install orthopy[all]

to get them all.

nschloe commented 2 years ago

I'll just make the dependencies mandatory until someone complains. :)