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

Method _bounds_from_inset_ax

lib/matplotlib/inset.py:166–169  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

164 self._shared_setter('linestyle', ls)
165
166 def _bounds_from_inset_ax(self):
167 xlim = self._inset_ax.get_xlim()
168 ylim = self._inset_ax.get_ylim()
169 return (xlim[0], ylim[0], xlim[1] - xlim[0], ylim[1] - ylim[0])
170
171 def _update_connectors(self):
172 (x, y) = self._rectangle.get_xy()

Callers 2

__init__Method · 0.95
connectorsMethod · 0.95

Calls 2

get_xlimMethod · 0.45
get_ylimMethod · 0.45

Tested by

no test coverage detected