lecture-python-advanced.myst
lecture-python-advanced.myst copied to clipboard
[match_transport] upgrades required for compatibility with numpy>=2
This code cell
example_off_diag.plot_H_z()
is producing this error
AttributeError[0m: ptp was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.