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

Handling of zero in log shared axes depends on whether axes are shared #5753

Closed
anntzer opened this issue Dec 27, 2015 · 0 comments
Closed
Assignees
Milestone

Comments

@anntzer
Copy link
Contributor

anntzer commented Dec 27, 2015

This is a regression in master compared to 1.5.0.

import numpy as np
import matplotlib.pyplot as plt
ax0 = plt.subplot(221)
ax1 = plt.subplot(222)
ax2 = plt.subplot(224, sharex=ax1)
for ax in [ax0, ax1, ax2]:
    ax.loglog(np.arange(10), np.random.rand(10))
plt.show()

sharedlog

(In 1.5.0 all axes set their xlims ignoring the x=0 point).

@tacaswell tacaswell added this to the next major release (2.0) milestone Dec 28, 2015
@mdboom mdboom self-assigned this Dec 29, 2015
WeatherGod added a commit that referenced this issue Dec 29, 2015
Fix #5753.  Handle minpos in log scale
@mdboom mdboom closed this as completed in b1f1692 Dec 29, 2015
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

No branches or pull requests

3 participants