You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
np.gradient can not be called with the current pythonnet API #1804
I am reopening an issue which was previously demoted to a question but turns out to be a shortcoming of the pythonnet API. As the discussion #1772 shows, there is no way to successfully call the function numpy.gradient(f, *varargs, axis=None, edge_order=1) as documented here: https://numpy.org/doc/stable/reference/generated/numpy.gradient.html
Activity
filmor commentedon May 30, 2022
The methods I gave you in the discussion work fine (the
InvokeMethodwas just missing the method name), I have added tests for them.henon commentedon May 31, 2022
You are right, it works with the latest version. Many thanks.