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

Method __call__

lib/matplotlib/projections/polar.py:231–235  ·  view source on GitHub ↗
(self, x, pos=None)

Source from the content-addressed store, hash-verified

229 """
230
231 def __call__(self, x, pos=None):
232 vmin, vmax = self.axis.get_view_interval()
233 d = np.rad2deg(abs(vmax - vmin))
234 digits = max(-int(np.log10(d) - 1.5), 0)
235 return f"{np.rad2deg(x):0.{digits}f}\N{DEGREE SIGN}"
236
237
238class _AxisWrapper:

Callers

nothing calls this directly

Calls 1

get_view_intervalMethod · 0.45

Tested by

no test coverage detected