Closed
Description
Bug summary
Using plt.autoscale()
for an Arc
with theta1
& theta2
for a not full ellipse results in a wrong scaling.
For example:
Arc((0,0),1,1,theta1=0,theta2=90)
Code for reproduction
import matplotlib.pyplot as plt
from matplotlib.patches import Arc
fig, ax = plt.subplots()
ax.add_patch(Arc((0,0),1,1,theta1=0,theta2=90))
plt.autoscale()
plt.show()
Actual outcome
Expected outcome
I think it would be better to have a zoomed in version of the partial arc. Like this:
Additional information
No response
Operating system
No response
Matplotlib Version
3.5.2
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
No response