MAINT: Reflect changes from numpy namespace refactor Part 5#26664
MAINT: Reflect changes from numpy namespace refactor Part 5#26664mtsokol wants to merge 1 commit intomatplotlib:mainfrom
numpy namespace refactor Part 5#26664Conversation
|
While technically correct, I would suggest just dropping the use of recarrays altogether (remove the |
|
As @anntzer points out, we probably don't need However, if we do keep it, this change is backwards incompatible, and thus would force us to run our doc builds on np 2.0 (and potentially cause confusion for readers of the docs who are using current released numpy) The direct impact of this change is minimal to us, as all changes are contained within examples, not library code. There are two problems with this change that make ordering with regards to numpy a) merging and b) releasing 2.0 that may make us want to hold off on merging (or breaking up the change into two phases) possibly until after release:
|
|
I would not use recarray, and remove mention of it in our docs. |
@ksunden I think it would be beneficial to remove
(The purpose of refactoring that piece of NumPy is to define only one place where this class is available) |
|
Okay, I was thinking that |
Structured numpy arrays are more fundamental than recarrays and sufficient in all cases. Superseeds matplotlib#26664.
Structured numpy arrays are more fundamental than recarrays and sufficient in all cases. Superseeds matplotlib#26664.
Structured numpy arrays are more fundamental than recarrays and sufficient in all cases. Superseeds matplotlib#26664.
Structured numpy arrays are more fundamental than recarrays and sufficient in all cases. Superseeds matplotlib#26664.
Structured numpy arrays are more fundamental than recarrays and sufficient in all cases. Superseeds matplotlib#26664.
Structured numpy arrays are more fundamental than recarrays and sufficient in all cases. Supersedes matplotlib#26664.
Structured numpy arrays are more fundamental than recarrays and sufficient in all cases. Supersedes matplotlib#26664.
Structured numpy arrays are more fundamental than recarrays and sufficient in all cases. Supersedes matplotlib#26664.
Hi!
Here's a PR that reflects changes introduced in numpy/numpy#24587. (The only item that needs to be modified in matplotlib is
np.recarrayaccess)