Skip to content

axis limits don't update on add_artist #19290

Open
@nschloe

Description

@nschloe

MWE

from matplotlib.patches import Circle
import matplotlib.pyplot as plt

# draw circle outside of unit square (default limits)
c = Circle(xy=[3.0, 1.0], radius=0.5)
plt.gca().add_artist(c)

plt.show()

Result:
screenshot

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