Closed
Description
Bug report
Bug summary
No matplotlib.patches.Arc
is being rendering when trying to add a small segment of a circle with a large radius.
If I increase the x and y limits to include a larger section of the arc then it is rendered.
Code for reproduction
import matplotlib.pylab as pl
from matplotlib import patches
fig = pl.figure()
ax = pl.gca()
x = 212.02529006006412
y = -2115.252900600641
diameter = 4261.655587271447
a = patches.Arc((x, y), diameter, diameter, fill=False)
ax.add_patch(a)
pl.xlim(0, 20)
pl.ylim(0, 20)
fig.show()
Actual outcome
An empty figure:
Expected outcome
A figure with a small section of an arc starting a
Matplotlib version
- Operating system: Windows 10 Pro
- Matplotlib version: 3.2.1
- Matplotlib backend (
print(matplotlib.get_backend())
): module://ipykernel.pylab.backend_inline - Python version: Python 3.7.5
- Jupyter version (if applicable): Version 0.35.6
- Other libraries: