matplotlib.patches.Circle — Matplotlib 3.10.1 documentation (original) (raw)
class matplotlib.patches.Circle(xy, radius=5, **kwargs)[source]#
Bases: Ellipse
A circle patch.
Create a true circle at center xy = (x, y) with given radius.
Unlike CirclePolygon which is a polygonal approximation, this uses Bezier splines and is much closer to a scale-free circle.
Valid keyword arguments are:
Return the radius of the circle.
property radius#
Return the radius of the circle.
set(*, agg_filter=, alpha=, angle=, animated=, antialiased=, capstyle=, center=, clip_box=, clip_on=, clip_path=, color=, edgecolor=, facecolor=, fill=, gid=, hatch=, hatch_linewidth=, height=, in_layout=, joinstyle=, label=, linestyle=, linewidth=, mouseover=, path_effects=, picker=, radius=, rasterized=, sketch_params=, snap=, transform=, url=, visible=, width=, zorder=)[source]#
Set multiple properties at once.
Supported properties are
Set the radius of the circle.
Parameters:
radiusfloat