-
-
Notifications
You must be signed in to change notification settings - Fork 11k
Mask hardness is not well defined #19331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is also a note here but I would agree this is probably not sufficient... |
@melissawm , that note you linked is actually quite helpful. :) |
Feel free @ForgottenProgramme - let us know if you have questions about the process. |
I stumbled over the same problem (see SO post) and was also about to open a PR. In fact, I found that https://github.com/numpy/numpy/pull/13002/files replaced the attribute documentation with an I would suggest a documentation based on what was there in the past, maybe extended a little such as
and including a link to the note referenced above. |
Just to clarify, since I wrote "I was about to open a PR": It is not clear to me what would be a good way to reintroduce the documentation. The author of PR #13002 (@mattip) will have had good reasons to switch to |
Hi @hmeine, if you want to improve the docstrings for the Lines 3576 to 3579 in f4a3e07
The other methods and attributes of |
Documentation
In the



MaskedArray
documentation, handling the mask section, there isharden_mask
andsoften_mask
, with a summary that says "Force the mask to hard|soft":So I click on one of those, and it says:
So I click on the
hardmask
property and it says:This is all circular and I still have no idea what mask hardness means. There is also the Masked Array tutorial which explicitly states that it does not cover hard vs soft mask and links to the above functions, which of course make no explanation.
The text was updated successfully, but these errors were encountered: