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

Skip to content

Fix gridspec demo #952

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 2 commits into from
Jun 17, 2012
Merged

Fix gridspec demo #952

merged 2 commits into from
Jun 17, 2012

Conversation

pelson
Copy link
Member

@pelson pelson commented Jun 16, 2012

Fixes #950

@@ -791,7 +791,7 @@ def add_subplot(self, *args, **kwargs):

a = args[0]
assert(a.get_figure() is self)
key = self._make_key(*args[1:], **kwargs)
Copy link
Member Author

Choose a reason for hiding this comment

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

I introduced this in 37e3851. I hadn't appreciated that the axes (or rather, the axes' object id) was intentionally part of the key.

@mdboom
Copy link
Member

mdboom commented Jun 16, 2012

+1

pelson added a commit that referenced this pull request Jun 17, 2012
@pelson pelson merged commit 18cf273 into matplotlib:master Jun 17, 2012
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.

Gridspec example in documentation doesn't run
2 participants