Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@anntzer

Description

@anntzer
Issue body actions

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).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.