Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make some more of figure.py numpydoc #9684

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

Merged
merged 1 commit into from
Nov 7, 2017
Merged

Conversation

dstansby
Copy link
Member

@dstansby dstansby commented Nov 4, 2017

No description provided.

@@ -440,7 +456,10 @@ def _set_dpi(self, dpi, forward=True):

def get_tight_layout(self):
"""
Return the Boolean flag, True to use :meth:`tight_layout` when drawing.
Returns
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly think these cases are better handled by the single line form (I would write Return whether tight_layout is applied after each draw.).


Returns
-------
bbox
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here; I don't think the Returns table adds anything (just write "Return the figure bounding box etc.")

@NelleV NelleV merged commit df9050f into matplotlib:master Nov 7, 2017
@QuLogic QuLogic added this to the v2.2 milestone Nov 7, 2017
@dstansby dstansby deleted the figure-doc branch December 6, 2017 10:43
@QuLogic QuLogic modified the milestones: needs sorting, v2.2.0 Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants