[img]https://i .sstatic.net/bRQy4.png[/img]
Der folgende Code führt zu einem ungefüllten Linienbogen:
Code: Select all
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()
Was wäre der beste Weg, einen zu zeichnen?