<｜begin▁of▁sentence｜>### Instruction:
Given two bounding boxes with coordinates (0, 0, 100, 100) and (50, 50, 150, 150), how can you use the BoundingBox class in igraph to calculate the union of these two bounding boxes and print their coordinates?
### Response:
from igraph.drawing import BoundingBox

# Define two bounding boxes
box1 = BoundingBox(0, 0, 100, 100)
box2 = BoundingBox(50, 50, 150, 150)

# Take the union of the two bounding boxes
total_box = box1 | box2

# Print the coordinates of the union of both bounding boxes
print(total_box)
<|EOT|>
