[img]https://i .sstatic.net/bRQy4.png[/img]
Следующий код приводит к незаполненной дуге:
Код: Выделить всё
import matplotlib.patches as mpatches
import matplotlib.pyplot as plt
fg, ax = plt.subplots(1, 1)
pac = mpatches.Arc([0, -2.5], 5, 5, angle=0, theta1=45, theta2=135)
ax.add_patch(pac)
ax.axis([-2, 2, -2, 2])
ax.set_aspect("equal")
fg.canvas.draw()
Как лучше всего их нарисовать?
Подробнее здесь: https://stackoverflow.com/questions/306 ... matplotlib
Мобильная версия