ndtr has experimental support for Python Array API Standard compatible
backends in addition to NumPy. Please consider testing these features
by setting an environment variable SCIPY_ARRAY_API=1 and providing
CuPy, PyTorch, JAX, or Dask arrays as array arguments. The following
combinations of backend and device (or other capability) are supported.
>>> importmatplotlib.pyplotasplt>>> x=np.linspace(-5,5,100)>>> fig,ax=plt.subplots()>>> ax.plot(x,ndtr(x))>>> ax.set_title(r"Standard normal cumulative distribution function $\Phi$")>>> plt.show()