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

Method get_path

lib/mpl_toolkits/axes_grid1/inset_locator.py:111–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109 self.bbox = bbox
110
111 def get_path(self):
112 # docstring inherited
113 x0, y0, x1, y1 = self.bbox.extents
114 return Path._create_closed([(x0, y0), (x1, y0), (x1, y1), (x0, y1)])
115
116
117class BboxConnector(Patch):

Callers 1

adjust_axes_limMethod · 0.45

Calls 1

_create_closedMethod · 0.80

Tested by

no test coverage detected