<｜begin▁of▁sentence｜>### Instruction:
Given a bounding box with the upper left at (0, 0) and lower right at (100, 100), how do you convert a point from local coordinates (50, 50) in a DescartesCoordinateSystem to context coordinates?
### Response:
import igraph as ig
from igraph.drawing import Plot, BoundingBox
from igraph.drawing.cairo.coord import DescartesCoordinateSystem

# Define a DescartesCoordinateSystem
coord_system = DescartesCoordinateSystem(None)

# Define a bounding box with the upper left at (0, 0) and the lower right at (100, 100)
bbox = BoundingBox(100, 100)

# Example local coordinate in the Descartes coordinate system
local_coord = (50, 50)

# Convert local coordinate to context coordinate, given the bounding box
context_coord = coord_system.local_to_context(local_coord, bbox)

print(f'Local coordinate {local_coord} maps to context coordinate {context_coord}')
<|EOT|>
