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

Method _init_axis

lib/matplotlib/projections/polar.py:815–823  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

813 self.set_theta_direction(self._default_theta_direction)
814
815 def _init_axis(self):
816 # This is moved out of __init__ because non-separable axes don't use it
817 self.xaxis = ThetaAxis(self, clear=False)
818 self.yaxis = RadialAxis(self, clear=False)
819 self.spines['polar'].register_axis(self.yaxis)
820 inner_spine = self.spines.get('inner', None)
821 if inner_spine is not None:
822 # Subclasses may not have inner spine.
823 inner_spine.register_axis(self.yaxis)
824
825 def _set_lim_and_transforms(self):
826 # A view limit where the minimum radius can be locked if the user

Callers

nothing calls this directly

Calls 4

ThetaAxisClass · 0.85
RadialAxisClass · 0.85
register_axisMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected