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

Method arc_spine

lib/matplotlib/spines.py:469–475  ·  view source on GitHub ↗

Create and return an arc `Spine`.

(cls, axes, spine_type, center, radius, theta1, theta2,
                  **kwargs)

Source from the content-addressed store, hash-verified

467
468 @classmethod
469 def arc_spine(cls, axes, spine_type, center, radius, theta1, theta2,
470 **kwargs):
471 """Create and return an arc `Spine`."""
472 path = mpath.Path.arc(theta1, theta2)
473 result = cls(axes, spine_type, path, **kwargs)
474 result.set_patch_arc(center, radius, theta1, theta2)
475 return result
476
477 @classmethod
478 def circular_spine(cls, axes, center, radius, **kwargs):

Callers 1

_gen_axes_spinesMethod · 0.80

Calls 2

arcMethod · 0.80
set_patch_arcMethod · 0.80

Tested by

no test coverage detected