empty scatter messes up the limits · Issue #1490 · matplotlib/matplotlib · GitHub
Skip to content

empty scatter messes up the limits #1490

Description

@akhmerov

Tested with 1.1.1 (didn't manage 1.2.0 to show anything yet).

To reproduce:

from matplotlib import pyplot as plt
plt.scatter([0,1],[0,1])
plt.scatter([], []) # The lower limit shifts appreciably, compared to not executing this line.
plt.show()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions