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

Method connectors

lib/matplotlib/inset.py:229–243  ·  view source on GitHub ↗

4-tuple of `.patches.ConnectionPatch` or None The four connector lines connecting to (lower_left, upper_left, lower_right upper_right) corners of *inset_ax*. Two lines are set with visibility to *False*, but the user can set the visibility to

(self)

Source from the content-addressed store, hash-verified

227
228 @property
229 def connectors(self):
230 """
231 4-tuple of `.patches.ConnectionPatch` or None
232 The four connector lines connecting to (lower_left, upper_left,
233 lower_right upper_right) corners of *inset_ax*. Two lines are
234 set with visibility to *False*, but the user can set the
235 visibility to True if the automatic choice is not deemed correct.
236 """
237 if self._inset_ax is None:
238 return
239
240 if self._auto_update_bounds:
241 self._rectangle.set_bounds(self._bounds_from_inset_ax())
242 self._update_connectors()
243 return tuple(self._connectors)
244
245 def draw(self, renderer):
246 # docstring inherited

Callers

nothing calls this directly

Calls 3

_bounds_from_inset_axMethod · 0.95
_update_connectorsMethod · 0.95
set_boundsMethod · 0.45

Tested by

no test coverage detected