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

Class RadialAxis

lib/matplotlib/projections/polar.py:672–695  ·  view source on GitHub ↗

A radial Axis. This overrides certain properties of a `.YAxis` to provide special-casing for a radial axis.

Source from the content-addressed store, hash-verified

670
671
672class RadialAxis(maxis.YAxis):
673 """
674 A radial Axis.
675
676 This overrides certain properties of a `.YAxis` to provide special-casing
677 for a radial axis.
678 """
679 __name__ = 'radialaxis'
680 axis_name = 'radius' #: Read-only name identifying the axis.
681 _tick_class = RadialTick
682
683 def __init__(self, *args, **kwargs):
684 super().__init__(*args, **kwargs)
685 self.sticky_edges.y.append(0)
686
687 def set_major_locator(self, locator):
688 if not isinstance(locator, RadialLocator):
689 locator = RadialLocator(locator)
690 super().set_major_locator(locator)
691
692 def clear(self):
693 # docstring inherited
694 super().clear()
695 self.set_ticks_position('none')
696
697
698def _is_full_circle_deg(thetamin, thetamax):

Callers 1

_init_axisMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…