X Tutup
Skip to content

Autoscale to automatically include a tiny margin with Axes.errorbar() #1711

@dmcdougall

Description

@dmcdougall

As reported by Neal Becker on our devloper mailing list. Here's an example that reproduces the issue:

x = [3, 6, 10]
y = [1, 2, 3]
import matplotlib.pyplot as plt

plt.errorbar(x, y, 0.2)
plt.show()

The error bars on either end of the x-axis are not visible. The error bar 'feet' should be taken into account during the autoscaling process. The current state of v1.2.x produces this:

Screen Shot 2013-01-27 at 13 13 35

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup