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

Method get_frame

lib/matplotlib/legend.py:1012–1014  ·  view source on GitHub ↗

Return the `~.patches.Rectangle` used to frame the legend.

(self)

Source from the content-addressed store, hash-verified

1010 return [self._legend_box, self.get_frame()]
1011
1012 def get_frame(self):
1013 """Return the `~.patches.Rectangle` used to frame the legend."""
1014 return self.legendPatch
1015
1016 def get_lines(self):
1017 r"""Return the list of `~.lines.Line2D`\s in the legend."""

Callers 3

get_childrenMethod · 0.95
test_shadow_framealphaFunction · 0.80
legend.pyFile · 0.80

Calls

no outgoing calls

Tested by 1

test_shadow_framealphaFunction · 0.64