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

SubplotBase._make_twin_axes always creates a new subplot instance #1972

Merged
merged 2 commits into from May 3, 2013

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented May 3, 2013

This is an alternative to #1969 that is based on v1.2.x and includes the test from #1957.

for sp in ax.spines.itervalues():
sp.set_visible(False)

fig = plt.figure()
Copy link
Member

Choose a reason for hiding this comment

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

Given how little detail is needed in the plot, I'm tempted to suggest reducing the PNG size with a combination of dpi and figsize. Thoughts?

@mdboom
Copy link
Member Author

mdboom commented May 3, 2013

@pelson: Sure, I've shrunk the figure.

mdboom added a commit that referenced this pull request May 3, 2013
SubplotBase._make_twin_axes always creates a new subplot instance
@mdboom mdboom merged commit 1909fef into matplotlib:v1.2.x May 3, 2013
@pelson
Copy link
Member

pelson commented May 7, 2013

@pelson: Sure, I've shrunk the figure.

Thanks @mdboom. Good stuff 😄

@mdboom mdboom deleted the twin-spine-fix branch August 7, 2014 13:52
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

3 participants