Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
paintEvent
Method · 0.80
paintEvent
Method · 0.80
resizeEvent
Method · 0.80
_draw_idle
Method · 0.80
__init__
Method · 0.80
resize
Method · 0.80
pixmap
Method · 0.80
_create_pixmap_from_svg
Method · 0.80
_create_pixmap_from_png
Method · 0.80
test_device_pixel_ratio_change
Function · 0.80
test_double_resize
Function · 0.80
Calls
1
get_points
Method · 0.95
Tested by
2
test_device_pixel_ratio_change
Function · 0.64
test_double_resize
Function · 0.64