MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / get_offset

Method get_offset

site-packages/matplotlib/offsetbox.py:196–204  ·  view source on GitHub ↗

Get the offset accepts extent of the box

(self, width, height, xdescent, ydescent, renderer)

Source from the content-addressed store, hash-verified

194 self.stale = True
195
196 def get_offset(self, width, height, xdescent, ydescent, renderer):
197 """
198 Get the offset
199
200 accepts extent of the box
201 """
202 return (self._offset(width, height, xdescent, ydescent, renderer)
203 if callable(self._offset)
204 else self._offset)
205
206 def set_width(self, width):
207 """

Callers 2

get_window_extentMethod · 0.95
drawMethod · 0.95

Calls 2

callableFunction · 0.50
_offsetMethod · 0.45

Tested by

no test coverage detected