Skip to content
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

Subplot.twin[xy] returns a Subplot instance #1169

Merged
merged 2 commits into from Sep 2, 2012

Conversation

leejjoon
Copy link
Contributor

This is to address #1165.
Not sure if there will be some regression issue as its return type is different.

@mdboom
Copy link
Member

mdboom commented Aug 29, 2012

This doesn't affect any of the regression tests, but I think it would be worth noting the API change in the docs/api/api_changes.rst docs.

ax2 = self.figure.add_axes(self.get_position(True), *kl, **kwargs)
return ax2


Copy link
Member

Choose a reason for hiding this comment

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

I know its picky, but would you mind putting 1 newline between methods and 2 newlines between top level classes/functions.

@pelson
Copy link
Member

pelson commented Aug 30, 2012

+1 from me. Seems like a sensible solution to the problem.

efiring added a commit that referenced this pull request Sep 2, 2012
Subplot.twin[xy] returns a Subplot instance
@efiring efiring merged commit d8dda52 into matplotlib:master Sep 2, 2012
@efiring
Copy link
Member

efiring commented Sep 2, 2012

The white-space fixes can be done later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants