Identify whether artists intersect
The lines intersecting the rectangle are colored in red, while the others
are left as blue lines. This example showcases the intersects_bbox function.

import matplotlib.pyplot as plt
import numpy as np
from matplotlib.path import