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

Class Polar

lib/matplotlib/tests/test_axes.py:3350–3356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3348def test_as_mpl_axes_api():
3349 # tests the _as_mpl_axes api
3350 class Polar:
3351 def __init__(self):
3352 self.theta_offset = 0
3353
3354 def _as_mpl_axes(self):
3355 # implement the matplotlib axes interface
3356 return PolarAxes, {'theta_offset': self.theta_offset}
3357
3358 prj = Polar()
3359 prj2 = Polar()

Callers 1

test_as_mpl_axes_apiFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_as_mpl_axes_apiFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…