MAINT: Numpy 2.0 deprecations for row_stack and in1d#26566
MAINT: Numpy 2.0 deprecations for row_stack and in1d#26566oscargus merged 2 commits intomatplotlib:mainfrom
Conversation
|
My only real qualm with this is now mixing That makes me wonder if arguing for keeping Alternatively, we could rework that code to use |
|
Hi! The a = np.array([1,2,3])
np.hstack([a[:,None], a[:,None]]) # np.column_stack([a, b]) |
|
numpy/numpy#24445 is looking ready to merge, does this still need work? |
…566-on-v3.8.x Backport PR #26566 on branch v3.8.x (MAINT: Numpy 2.0 deprecations for row_stack and in1d)
PR summary
Remove usage of soon to be deprecated methods in numpy.
Part of #26422, xref numpy/numpy#24445
Keeping this in draft until the numpy PR is merged, in case they revert some of the changes.
PR checklist