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

Method _as_mpl_transform

lib/matplotlib/tests/test_inset.py:129–132  ·  view source on GitHub ↗
(self, axes=None)

Source from the content-addressed store, hash-verified

127 # Cartopy) will work.
128 class FussyDataTr:
129 def _as_mpl_transform(self, axes=None):
130 if axes is None:
131 raise ValueError("I am a fussy transform that requires an axes")
132 return axes.transData
133
134 fig, ax = plt.subplots()
135

Callers 4

get_transformMethod · 0.45
get_offset_transformMethod · 0.45
get_transformMethod · 0.45
_update_pcolor_limsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected