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

Method _gen_axes_patch

lib/matplotlib/axes/_base.py:1256–1271  ·  view source on GitHub ↗

Returns ------- Patch The patch used to draw the background of the Axes. It is also used as the clipping path for any data elements on the Axes. In the standard Axes, this is a rectangle, but in other projections it may not b

(self)

Source from the content-addressed store, hash-verified

1254 self._mouseover_set.add(a)
1255
1256 def _gen_axes_patch(self):
1257 """
1258 Returns
1259 -------
1260 Patch
1261 The patch used to draw the background of the Axes. It is also used
1262 as the clipping path for any data elements on the Axes.
1263
1264 In the standard Axes, this is a rectangle, but in other projections
1265 it may not be.
1266
1267 Notes
1268 -----
1269 Intended to be overridden by new projection types.
1270 """
1271 return mpatches.Rectangle((0.0, 0.0), 1.0, 1.0)
1272
1273 def _gen_axes_spines(self, locations=None, offset=0.0, units='inches'):
1274 """

Callers 1

__clearMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected