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

Method _update_bbox_to_anchor

lib/matplotlib/legend.py:93–95  ·  view source on GitHub ↗
(self, loc_in_canvas)

Source from the content-addressed store, hash-verified

91 self.legend._loc = tuple(_bbox_transform.transform(loc_in_canvas))
92
93 def _update_bbox_to_anchor(self, loc_in_canvas):
94 loc_in_bbox = self.legend.axes.transAxes.transform(loc_in_canvas)
95 self.legend.set_bbox_to_anchor(loc_in_bbox)
96
97
98_legend_kw_doc_base = """

Callers 1

finalize_offsetMethod · 0.95

Calls 2

transformMethod · 0.45
set_bbox_to_anchorMethod · 0.45

Tested by

no test coverage detected