MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / unit_circle

Method unit_circle

site-packages/matplotlib/path.py:704–714  ·  view source on GitHub ↗

Return the readonly :class:`Path` of the unit circle. For most cases, :func:`Path.circle` will be what you want.

(cls)

Source from the content-addressed store, hash-verified

702
703 @classmethod
704 def unit_circle(cls):
705 """
706 Return the readonly :class:`Path` of the unit circle.
707
708 For most cases, :func:`Path.circle` will be what you want.
709
710 """
711 if cls._unit_circle is None:
712 cls._unit_circle = cls.circle(center=(0, 0), radius=1,
713 readonly=True)
714 return cls._unit_circle
715
716 @classmethod
717 def circle(cls, center=(0., 0.), radius=1., readonly=False):

Callers 15

circular_spineMethod · 0.80
_set_tuple_markerMethod · 0.80
_set_circleMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
test_readonly_pathFunction · 0.80
test_clip_to_bboxFunction · 0.80

Calls 1

circleMethod · 0.80

Tested by 8

test_readonly_pathFunction · 0.64
test_clip_to_bboxFunction · 0.64
test_clippingFunction · 0.64