qmix/mathfn/kktrans.py:73: in kk_trans_trapz
ikk.append(np.trapz((i_prime - v_prime) / (v_prime - v[a]), x=v_prime))
^^^^^^^^
E AttributeError: module 'numpy' has no attribute 'trapz'. Did you mean: 'trace'?
numpy.trapz — deprecated since NumPy 2.0 (2023-08-18). Use numpy.trapezoid or scipy.integrate functions instead.
Due to:
https://numpy.org/doc/2.4/release/2.4.0-notes.html