MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / circular_spine

Method circular_spine

lib/matplotlib/spines.py:478–484  ·  view source on GitHub ↗

Create and return a circular `Spine`.

(cls, axes, center, radius, **kwargs)

Source from the content-addressed store, hash-verified

476
477 @classmethod
478 def circular_spine(cls, axes, center, radius, **kwargs):
479 """Create and return a circular `Spine`."""
480 path = mpath.Path.unit_circle()
481 spine_type = 'circle'
482 result = cls(axes, spine_type, path, **kwargs)
483 result.set_patch_circle(center, radius)
484 return result
485
486 def set_color(self, c):
487 """

Callers 2

_gen_axes_spinesMethod · 0.80
_gen_axes_spinesMethod · 0.80

Calls 2

unit_circleMethod · 0.80
set_patch_circleMethod · 0.80

Tested by

no test coverage detected