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

Method translated

lib/matplotlib/transforms.py:640–642  ·  view source on GitHub ↗

Construct a `Bbox` by translating this one by *tx* and *ty*.

(self, tx, ty)

Source from the content-addressed store, hash-verified

638 return Bbox(points + [[-w_pad, -h_pad], [w_pad, h_pad]])
639
640 def translated(self, tx, ty):
641 """Construct a `Bbox` by translating this one by *tx* and *ty*."""
642 return Bbox(self._points + (tx, ty))
643
644 def corners(self):
645 """

Callers 5

get_window_extentMethod · 0.80
reposition_colorbarFunction · 0.80
__call__Method · 0.80
get_window_extentMethod · 0.80
_get_pan_pointsMethod · 0.80

Calls 1

BboxClass · 0.85

Tested by

no test coverage detected