Skip to content

scatter + loglog = bad autolimits #5897

Closed
@anntzer

Description

@anntzer
import matplotlib.pyplot as plt
xs = [97, 4980, 9863, 14746, 19628, 24511, 29394, 34277, 39160, 44042, 48925]
ys = [7e-09, 3e-09, 1e-09, 7e-10, 4e-10, 5e-10, 2e-10, 1e-10, 1e-10, 1e-10, 1e-10]
zs = [6e-09, 3e-09, 1e-09, 7e-10, 4e-10, 2e-10, 2e-10, 1e-10, 1e-10, 1e-10, 1e-10]
plt.scatter(xs, ys)
plt.loglog(xs, zs)
plt.show()

master
screenshot_20160121_210941
1.5.1
screenshot_20160121_211042
I've also had cases where the bottom of the line plot was cut out, although I don't have a minimal example yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions