lecture-python-advanced.myst icon indicating copy to clipboard operation
lecture-python-advanced.myst copied to clipboard

[match_transport] upgrades required for compatibility with numpy>=2

Open mmcky opened this issue 4 months ago • 0 comments

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.

mmcky avatar Aug 06 '25 00:08 mmcky