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

Method width

lib/matplotlib/transforms.py:346–349  ·  view source on GitHub ↗

The (signed) width of the bounding box.

(self)

Source from the content-addressed store, hash-verified

344
345 @property
346 def width(self):
347 """The (signed) width of the bounding box."""
348 points = self.get_points()
349 return points[1, 0] - points[0, 0]
350
351 @property
352 def height(self):

Callers 11

paintEventMethod · 0.80
paintEventMethod · 0.80
resizeEventMethod · 0.80
_draw_idleMethod · 0.80
__init__Method · 0.80
resizeMethod · 0.80
pixmapMethod · 0.80
test_double_resizeFunction · 0.80

Calls 1

get_pointsMethod · 0.95

Tested by 2

test_double_resizeFunction · 0.64