-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC/ENH : get/set_size_inches #2836
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
Added links between `get_size_inches` and `set_size_inches` Added an `np.array` call to `get_size_inches` to return a copy of the size, instead of a reference to the internal np.array. Closes matplotlib#2303
IMO, it would be nicer to have the See Also part as a section:: See Also Else, this looks good to me. 👍 for merge |
@NelleV is the
in addition to or instead of the |
It would be in replacement of the .. alsosee:: |
Also very minor: maybe add a sentence how to convert inch in cm, for us Europeans. |
- better numpydoc style - added inch <-> cm conversion factor
LGTM |
size : ndarray | ||
The size of the figure in inches | ||
|
||
Also See |
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.
Also See -> See Also.
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.
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.
re-reading, I don't get that. Happy for either Nelle to confirm, or we just apply the consistency rule and I'll happily merge.
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.
Other than that, I'll merge with gusto. 👍 |
@NelleV Just to check, I added a commit flipping the word order right before you merged. |
- issue introduced in matplotlib#2836 - closes matplotlib#2982
Added links between
get_size_inches
andset_size_inches
Added an
np.array
call toget_size_inches
to return a copy ofthe size, instead of a reference to the internal np.array.
Closes #2303