-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Clean up and clarify Normalize docs #16271
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
Conversation
I agree with splitting an "abstract" normbase from the linear norm. |
lib/matplotlib/colors.py
Outdated
|
||
Parameters | ||
---------- | ||
value : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no colon
The naming I agree on adding an abstract norm class. Not a fan of naming it |
👍 sounds good, I'll take a go at that in this PR. How about just |
I guess BaseNorm would be somewhat more idiomatic but just weird given all the XxxBase we have. I think the problem of AbstractNorm is that it's also what you'd use in all docstrings which currently read |
a70383f
to
7037ec1
Compare
I'm going to leave this PR as just doc changes, and put the other stuff elswehere since it's turning out to be a bit of a big diff. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once ci passes (modulo the scipy failure)
failure is the scipy one. |
I'm trying to debug
SymLogNorm
, so thought I'd start by tidying up theNormalize
docs to make them clearer. Suggestions very welcome.