<｜begin▁of▁sentence｜>### Instruction:
Given two BoundingBox instances with the same dimensions, can you check if they are equal to each other in terms of location and size?
### Response:
from matplotlib.patches import BoundingBox

# Create two BoundingBox instances
dimension_1 = BoundingBox(x0=0, y0=0, width=10, height=5)
dimension_2 = BoundingBox(x0=0, y0=0, width=10, height=5)

equality_check = dimension_1 == dimension_2
print(f"Are both bounding boxes equal? {equality_check}")
<|EOT|>
