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
PEP8ify some variable names. #15204
PEP8ify some variable names. #15204
Conversation
lib/matplotlib/axes/_subplots.py
Outdated
---------- | ||
fig : `matplotlib.figure.Figure` | ||
|
||
*args : tuple (*nrows*, *ncols*, *index*) |
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.
*args : tuple (*nrows*, *ncols*, *index*) | |
*args : tuple (*nrows*, *ncols*, *index*) or int |
I think that should be mentioned, even though the int has very special semantics.
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.
done
decimal integer *numRows* * 100 + *numCols* * 10 + *plotNum*. | ||
fig : `matplotlib.figure.Figure` | ||
|
||
*args : tuple (*nrows*, *ncols*, *index*) |
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.
*args : tuple (*nrows*, *ncols*, *index*) | |
*args : tuple (*nrows*, *ncols*, *index*) or int |
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.
done
nrows/ncols is already used as parameter names in subplots() so standardizing on them seems good enough. Note that the docstring of SubplotBase was previously incorrect: one didn't need `numRows <= numCols <= plotNum < 10`, just that all three be single-digit.
nrows/ncols is already used as parameter names in subplots() so
standardizing on them seems good enough.
Note that the docstring of SubplotBase was previously incorrect:
one didn't need
numRows <= numCols <= plotNum < 10
, just that allthree be single-digit.
PR Summary
PR Checklist