X Tutup
Skip to content

Errorbar limits arrow heads point in wrong direction on inverted axis #8524

@Lyalpha

Description

@Lyalpha

When plotting errorbar limits, the arrow head points in the wrong direction when the x (y) axis does not increase to the right (up) on v2.0.0.

plt.subplot(121)
plt.errorbar(0.5,0.5, xerr=0.1, yerr=0.1, uplims=True, xlolims=True, marker="o")
plt.xlim(0,1)
plt.ylim(0,1)
plt.subplot(122)
plt.errorbar(0.5,0.5, xerr=0.1, yerr=0.1, uplims=True, xlolims=True, marker="o")
plt.xlim(1,0)
plt.ylim(1,0)
plt.show()

mpl_errorbar_inverted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup