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

Method __call__

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

Source from the content-addressed store, hash-verified

276 self.base.set_axis(self.axis)
277
278 def __call__(self):
279 lim = self.axis.get_view_interval()
280 if _is_full_circle_deg(lim[0], lim[1]):
281 return np.deg2rad(min(lim)) + np.arange(8) * 2 * np.pi / 8
282 else:
283 return np.deg2rad(self.base())
284
285 def view_limits(self, vmin, vmax):
286 vmin, vmax = np.rad2deg((vmin, vmax))

Callers

nothing calls this directly

Calls 3

_is_full_circle_degFunction · 0.85
baseMethod · 0.80
get_view_intervalMethod · 0.45

Tested by

no test coverage detected