<｜begin▁of▁sentence｜>### Instruction:
Given two bounding boxes with coordinates (0, 0, 100, 100) and (50, 50, 150, 150), how would you create a new bounding box that represents the union of the two given boxes using igraph's BoundingBox functionality?
### Response:
from igraph.drawing import BoundingBox

# Create two bounding boxes
bbox1 = BoundingBox(0, 0, 100, 100)
bbox2 = BoundingBox(50, 50, 150, 150)

# Replace first bounding box with the union of itself and the second
bbox1 |= bbox2

# Display the coordinates of the resulting bounding box
print(bbox1)
<|EOT|>
