MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / _draw_circle

Function _draw_circle

numericals.py:994–1012  ·  view source on GitHub ↗
(
    ax: matplotlib.axes.Axes, c: Circle, color: Any = 'cyan', lw: float = 1.2
)

Source from the content-addressed store, hash-verified

992
993
994def _draw_circle(
995 ax: matplotlib.axes.Axes, c: Circle, color: Any = 'cyan', lw: float = 1.2
996) -> None:
997 ls = '-'
998 if color == '--':
999 color = 'black'
1000 ls = '--'
1001
1002 ax.add_patch(
1003 plt.Circle(
1004 (c.center.x, c.center.y),
1005 c.radius,
1006 color=color,
1007 alpha=0.8,
1008 fill=False,
1009 lw=lw,
1010 ls=ls,
1011 )
1012 )
1013
1014
1015def draw_circle(

Callers 2

draw_circleFunction · 0.85
highlightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected