<｜begin▁of▁sentence｜>### Instruction:
Given a bounding box with lower-left corner at coordinates (1,1) and upper-right corner at (2,2), how can you expand this bounding box by 0.5 units on all sides using the 'expand' method from BoundingBox class?
### Response:
from matplotlib.transforms import Bbox

# Create a Bbox object with lower-left corner at (1,1) and upper-right at (2,2)
bbox = Bbox.from_extents(1, 1, 2, 2)

# Expand the bounding box by 0.5 units on all sides
expanded_bbox = bbox.expanded(0.5, 0.5)

# Print the new bounding box coordinates
print('Expanded BBox:', expanded_bbox)
<|EOT|>
