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

Method _gen_axes_spines

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

Source from the content-addressed store, hash-verified

1012 return mpatches.Wedge((0.5, 0.5), 0.5, 0.0, 360.0)
1013
1014 def _gen_axes_spines(self):
1015 spines = {
1016 'polar': Spine.arc_spine(self, 'top', (0.5, 0.5), 0.5, 0, 360),
1017 'start': Spine.linear_spine(self, 'left'),
1018 'end': Spine.linear_spine(self, 'right'),
1019 'inner': Spine.arc_spine(self, 'bottom', (0.5, 0.5), 0.0, 0, 360),
1020 }
1021 spines['polar'].set_transform(self.transWedge + self.transAxes)
1022 spines['inner'].set_transform(self.transWedge + self.transAxes)
1023 spines['start'].set_transform(self._yaxis_transform)
1024 spines['end'].set_transform(self._yaxis_transform)
1025 return spines
1026
1027 def set_thetamax(self, thetamax):
1028 """Set the maximum theta limit in degrees."""

Callers

nothing calls this directly

Calls 3

arc_spineMethod · 0.80
linear_spineMethod · 0.80
set_transformMethod · 0.45

Tested by

no test coverage detected